pub struct NormalSigned(/* private fields */);Expand description
Stored internally as i16, allows converting to/from a -1.0 to 1.0 f32 range. Any f32 value outside of this range will be clipped.
Implementations§
Trait Implementations§
Source§impl Clone for NormalSigned
impl Clone for NormalSigned
Source§fn clone(&self) -> NormalSigned
fn clone(&self) -> NormalSigned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormalSigned
Source§impl Debug for NormalSigned
impl Debug for NormalSigned
Source§impl Default for NormalSigned
impl Default for NormalSigned
Source§fn default() -> NormalSigned
fn default() -> NormalSigned
Returns the “default value” for a type. Read more
Source§impl Display for NormalSigned
impl Display for NormalSigned
Source§impl From<f32> for NormalSigned
Will clamp values outside valid range of -1.0 to 1.0.
impl From<f32> for NormalSigned
Will clamp values outside valid range of -1.0 to 1.0.
Source§impl Into<f32> for NormalSigned
Returns an f32 value between -1.0 and 1.0 (inclusive).
impl Into<f32> for NormalSigned
Returns an f32 value between -1.0 and 1.0 (inclusive).
impl KnotValue for NormalSigned
Auto Trait Implementations§
impl Freeze for NormalSigned
impl RefUnwindSafe for NormalSigned
impl Send for NormalSigned
impl Sync for NormalSigned
impl Unpin for NormalSigned
impl UnsafeUnpin for NormalSigned
impl UnwindSafe for NormalSigned
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