pub struct Rotation {
pub yaw: Option<i8>,
pub pitch: Option<i8>,
pub roll: Option<i8>,
}
Expand description
An object’s current rotation
Fields§
§yaw: Option<i8>
§pitch: Option<i8>
§roll: Option<i8>
Implementations§
Trait Implementations§
source§impl PartialEq for Rotation
impl PartialEq for Rotation
impl Copy for Rotation
impl Eq for Rotation
impl StructuralPartialEq for Rotation
Auto Trait Implementations§
impl Freeze for Rotation
impl RefUnwindSafe for Rotation
impl Send for Rotation
impl Sync for Rotation
impl Unpin for Rotation
impl UnwindSafe for Rotation
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