#[repr(C)]pub struct b2Rot {
pub c: f32,
pub s: f32,
}Expand description
2D rotation This is similar to using a complex number for rotation
Fields§
§c: f32cosine and sine
s: f32cosine and sine
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2Rot
impl RefUnwindSafe for b2Rot
impl Send for b2Rot
impl Sync for b2Rot
impl Unpin for b2Rot
impl UnwindSafe for b2Rot
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)