Rotation3D
struct · ferroui-media3d · v0.5.0
struct Rotation3D
WPF's Rotation3D: the base of the rotations.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<Rotation3D>
Returns a strong reference to this object.
internal_quaternion
fn internal_quaternion(self: &Self) -> Quaternion
The rotation as a quaternion (WPF's InternalQuaternion).
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
identity
fn identity() -> Ref<Rotation3D>
WPF's Rotation3D.Identity: a new rotation by nothing.
changed
fn changed(self: &Self, handler: impl Fn(Scene3DChange) -> () + 'static) -> Subscription
Calls handler on every change of the rotation, until the returned guard is dropped.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeRotation3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<Rotation3D>StaticTypeObjectTypeSubclassable<T>FerroObjectImplRotation3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.