pub struct B2Rot {
pub s: f32,
pub c: f32,
}Expand description
Rotation
Fields§
§s: f32Sine and cosine
c: f32Implementations§
Source§impl B2Rot
impl B2Rot
Sourcepub fn set_identity(&mut self)
pub fn set_identity(&mut self)
Set to the identity rotation
Trait Implementations§
impl Copy for B2Rot
Auto Trait Implementations§
impl Freeze for B2Rot
impl RefUnwindSafe for B2Rot
impl Send for B2Rot
impl Sync for B2Rot
impl Unpin for B2Rot
impl UnsafeUnpin for B2Rot
impl UnwindSafe for B2Rot
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