pub struct CosSin {
pub cosine: f32,
pub sine: f32,
}Expand description
Cosine and sine pair. This uses a custom implementation designed for cross-platform determinism.
Fields§
§cosine: f32cosine and sine
sine: f32Trait Implementations§
impl Copy for CosSin
impl StructuralPartialEq for CosSin
Auto Trait Implementations§
impl Freeze for CosSin
impl RefUnwindSafe for CosSin
impl Send for CosSin
impl Sync for CosSin
impl Unpin for CosSin
impl UnsafeUnpin for CosSin
impl UnwindSafe for CosSin
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