Struct Camera3D
#[repr(C)]pub struct Camera3D {
pub location: V3,
pub axis: V3,
pub zenith: V3,
pub observer: V3,
/* private fields */
}
๐Deprecated since 0.30.0: Skia now has support for a 4x matrix (core::M44) in core::Canvas.
Fieldsยง
ยงlocation: V3
๐Deprecated since 0.30.0: Skia now has support for a 4x matrix (core::M44) in core::Canvas.
ยงaxis: V3
๐Deprecated since 0.30.0: Skia now has support for a 4x matrix (core::M44) in core::Canvas.
ยงzenith: V3
๐Deprecated since 0.30.0: Skia now has support for a 4x matrix (core::M44) in core::Canvas.
ยงobserver: V3
๐Deprecated since 0.30.0: Skia now has support for a 4x matrix (core::M44) in core::Canvas.
Implementationsยง
Trait Implementationsยง
impl StructuralPartialEq for Camera3D
Auto Trait Implementationsยง
impl Freeze for Camera3D
impl RefUnwindSafe for Camera3D
impl Send for Camera3D
impl Sync for Camera3D
impl Unpin for Camera3D
impl UnwindSafe for Camera3D
Blanket Implementationsยง
ยงimpl<T> AnyEq for T
impl<T> AnyEq for T
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)ยงimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
ยงfn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.ยงfn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.ยงfn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
โs vtable from &Trait
โs.ยงfn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
โs vtable from &mut Trait
โs.