Struct lighthouse_client::Rotation
source · [−]pub struct Rotation { /* private fields */ }Expand description
An 2D rotation that is representable using an integer matrix.
Implementations
sourceimpl Rotation
impl Rotation
sourcepub fn random_cardinal() -> Self
pub fn random_cardinal() -> Self
Randomly one of the four cardinal rotations.
Trait Implementations
impl Copy for Rotation
impl Eq for Rotation
impl StructuralEq for Rotation
impl StructuralPartialEq for Rotation
Auto Trait Implementations
impl RefUnwindSafe for Rotation
impl Send for Rotation
impl Sync for Rotation
impl Unpin for Rotation
impl UnwindSafe for Rotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more