pub struct Rot {
pub c: f32,
pub s: f32,
}Expand description
2D rotation This is similar to using a complex number for rotation
Fields§
§c: f32§s: f32Implementations§
Trait Implementations§
impl Copy for Rot
impl StructuralPartialEq for Rot
Auto Trait Implementations§
impl Freeze for Rot
impl RefUnwindSafe for Rot
impl Send for Rot
impl Sync for Rot
impl Unpin for Rot
impl UnsafeUnpin for Rot
impl UnwindSafe for Rot
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