pub struct Rotations {
pub x: Float,
pub y: Float,
pub z: Float,
}Expand description
Three Euler rotation components encoded as consecutive Floats.
Fields§
§x: FloatRotation around the x axis.
y: FloatRotation around the y axis.
z: FloatRotation around the z axis.
Trait Implementations§
impl Copy for Rotations
impl StructuralPartialEq for Rotations
Auto Trait Implementations§
impl Freeze for Rotations
impl RefUnwindSafe for Rotations
impl Send for Rotations
impl Sync for Rotations
impl Unpin for Rotations
impl UnsafeUnpin for Rotations
impl UnwindSafe for Rotations
Blanket Implementations§
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§impl<T> ContextualCodec for Twhere
T: TypeCodec,
impl<T> ContextualCodec for Twhere
T: TypeCodec,
Source§fn encode_with_context(
&self,
writer: &mut impl Write,
_context: &Context,
) -> Result<(), CodecError>
fn encode_with_context( &self, writer: &mut impl Write, _context: &Context, ) -> Result<(), CodecError>
Encodes this value using context supplied by its enclosing structure.
Source§fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
Decodes this value using context supplied by its enclosing structure.