#[repr(transparent)]pub struct Euler { /* private fields */ }
Implementations
sourceimpl Euler
impl Euler
pub fn alpha(&self) -> f32
pub fn beta(&self) -> f32
pub fn gamma(&self) -> f32
pub fn order(&self) -> EulerOrder
pub fn x(&self) -> f32
pub fn y(&self) -> f32
pub fn z(&self) -> f32
pub fn reorder(&self, order: EulerOrder) -> Euler
pub fn to_matrix(&self) -> Matrix
pub fn to_quaternion(&self) -> Quaternion
pub fn to_vec3(&self) -> Vec3
sourceimpl Euler
impl Euler
pub fn new(x: f32, y: f32, z: f32) -> Self
pub fn from_matrix(m: Option<&Matrix>, order: EulerOrder) -> Self
pub fn from_quaternion(q: Option<&Quaternion>, order: EulerOrder) -> Self
pub fn from_radians(x: f32, y: f32, z: f32, order: EulerOrder) -> Self
pub fn from_vec3(v: Option<&Vec3>, order: EulerOrder) -> Self
pub fn with_order(x: f32, y: f32, z: f32, order: EulerOrder) -> Self
Trait Implementations
sourceimpl PartialEq<Euler> for Euler
impl PartialEq<Euler> for Euler
sourceimpl StaticType for Euler
impl StaticType for Euler
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Copy for Euler
impl Eq for Euler
Auto Trait Implementations
impl RefUnwindSafe for Euler
impl Send for Euler
impl Sync for Euler
impl Unpin for Euler
impl UnwindSafe for Euler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.