Struct bytes_cast::unaligned::F32Le[][src]

#[repr(transparent)]pub struct F32Le(_);

Little-endian f32, without alignment requirement.

Implements the BytesCast trait to reinterpret &[u8] byte slices, and the From and Into traits to convert to and from f32.

Implementations

impl F32Le[src]

Converts to native-endian. Same as .into(), but .into() may need a type annotation.

pub fn get(self) -> f32[src]

Trait Implementations

impl BytesCast for F32Le[src]

impl Clone for F32Le[src]

impl Copy for F32Le[src]

impl Debug for F32Le[src]

impl Eq for F32Le[src]

impl From<f32> for F32Le[src]

Converts from native-endian

impl Hash for F32Le[src]

impl PartialEq<F32Le> for F32Le[src]

impl StructuralEq for F32Le[src]

impl StructuralPartialEq for F32Le[src]

Auto Trait Implementations

impl Send for F32Le

impl Sync for F32Le

impl Unpin for F32Le

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.