pub struct F16Wrapper(pub f16);Expand description
Wrapper type for f16 to allow implementing foreign traits
Tuple Fields§
§0: f16Trait Implementations§
Source§impl Clone for F16Wrapper
impl Clone for F16Wrapper
Source§fn clone(&self) -> F16Wrapper
fn clone(&self) -> F16Wrapper
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 Debug for F16Wrapper
impl Debug for F16Wrapper
Source§impl Display for F16Wrapper
impl Display for F16Wrapper
Source§impl Distribution<F16Wrapper> for Standard
impl Distribution<F16Wrapper> for Standard
Source§impl Distribution<F16Wrapper> for StandardNormal
impl Distribution<F16Wrapper> for StandardNormal
Source§impl From<F16Wrapper> for f16
impl From<F16Wrapper> for f16
Source§fn from(wrapper: F16Wrapper) -> Self
fn from(wrapper: F16Wrapper) -> Self
Converts to this type from the input type.
Source§impl From<f16> for F16Wrapper
impl From<f16> for F16Wrapper
impl Copy for F16Wrapper
Auto Trait Implementations§
impl Freeze for F16Wrapper
impl RefUnwindSafe for F16Wrapper
impl Send for F16Wrapper
impl Sync for F16Wrapper
impl Unpin for F16Wrapper
impl UnwindSafe for F16Wrapper
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