pub struct AxisAngle {
pub radians: f64,
pub x: f64,
pub y: f64,
pub z: f64,
}
Fields§
§radians: f64
§x: f64
§y: f64
§z: f64
Implementations§
Source§impl AxisAngle
impl AxisAngle
Sourcepub fn matches_closely(&self, other: &Self, tolerance: f64) -> bool
pub fn matches_closely(&self, other: &Self, tolerance: f64) -> bool
Returns false if any difference magnitude is greater than the tolerance.
The tolerance should be a positive number.
Sourcepub fn matches_exactly(&self, other: &Self) -> bool
pub fn matches_exactly(&self, other: &Self) -> bool
Returns false if any field value of other differs from the value of self
Trait Implementations§
impl Copy for AxisAngle
impl StructuralPartialEq for AxisAngle
Auto Trait Implementations§
impl Freeze for AxisAngle
impl RefUnwindSafe for AxisAngle
impl Send for AxisAngle
impl Sync for AxisAngle
impl Unpin for AxisAngle
impl UnwindSafe for AxisAngle
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