pub struct TangentPrecisionMode(/* private fields */);Expand description
A value specifying how precise saved (x,y,z) values must be.
Implementations§
Source§impl TangentPrecisionMode
impl TangentPrecisionMode
Sourcepub fn from_deg_dev(deg: FloatType) -> Self
pub fn from_deg_dev(deg: FloatType) -> Self
Creates a tangent precision mode with maximal deviation of (x,y,z) part being deg degrees.
Sourcepub fn from_rad_dev(rad: FloatType) -> Self
pub fn from_rad_dev(rad: FloatType) -> Self
Creates a tangent precision mode with maximal deviation of (x,y,z) part being rad radians.
Trait Implementations§
Source§impl Clone for TangentPrecisionMode
impl Clone for TangentPrecisionMode
Source§fn clone(&self) -> TangentPrecisionMode
fn clone(&self) -> TangentPrecisionMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TangentPrecisionMode
impl Default for TangentPrecisionMode
impl Copy for TangentPrecisionMode
Auto Trait Implementations§
impl Freeze for TangentPrecisionMode
impl RefUnwindSafe for TangentPrecisionMode
impl Send for TangentPrecisionMode
impl Sync for TangentPrecisionMode
impl Unpin for TangentPrecisionMode
impl UnwindSafe for TangentPrecisionMode
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