Struct ux::prelude::dx::Euler [−][src]
pub struct Euler(_);
Implementations
impl Euler
[src]
impl Euler
[src]pub fn init(&mut self, heading: f32, pitch: f32, roll: f32)
[src]
Initializes self
to represent a rotation of x_angle
degrees
around the x axis, then y_angle
degrees around the y_axis and
z_angle
degrees around the z axis.
heading
Angle to rotate around an object’s y axis
pitch
Angle to rotate around an object’s x axis
roll
Angle to rotate around an object’s z axis
pub fn init_from_matrix(&mut self, matrix: &Matrix)
[src]
Extracts a euler rotation from the given matrix
and
initializses self
with the component x, y and z rotation angles.
matrix
A Matrix
containing a rotation, but no scaling,
mirroring or skewing.
Trait Implementations
impl PartialOrd<Euler> for Euler
[src]
impl PartialOrd<Euler> for Euler
[src]impl StaticType for Euler
[src]
impl StaticType for Euler
[src]pub fn static_type() -> Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Euler
impl RefUnwindSafe for Euler
impl UnwindSafe for Euler
impl UnwindSafe for Euler
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,