pub struct NormalizedCoordinate(/* private fields */);
Expand description
A variation coordinate in a normalized coordinate system.
Basically any number in a -1.0..1.0 range. Where 0 is a default value.
The number is stored as f2.16
Implementations§
Trait Implementations§
Source§impl Clone for NormalizedCoordinate
impl Clone for NormalizedCoordinate
Source§fn clone(&self) -> NormalizedCoordinate
fn clone(&self) -> NormalizedCoordinate
Returns a copy 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 Debug for NormalizedCoordinate
impl Debug for NormalizedCoordinate
Source§impl Default for NormalizedCoordinate
impl Default for NormalizedCoordinate
Source§fn default() -> NormalizedCoordinate
fn default() -> NormalizedCoordinate
Returns the “default value” for a type. Read more
Source§impl From<f32> for NormalizedCoordinate
impl From<f32> for NormalizedCoordinate
Source§impl From<i16> for NormalizedCoordinate
impl From<i16> for NormalizedCoordinate
Source§impl PartialEq for NormalizedCoordinate
impl PartialEq for NormalizedCoordinate
impl Copy for NormalizedCoordinate
impl StructuralPartialEq for NormalizedCoordinate
Auto Trait Implementations§
impl Freeze for NormalizedCoordinate
impl RefUnwindSafe for NormalizedCoordinate
impl Send for NormalizedCoordinate
impl Sync for NormalizedCoordinate
impl Unpin for NormalizedCoordinate
impl UnwindSafe for NormalizedCoordinate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)