Struct allsorts_no_std::tables::F2Dot14[][src]

pub struct F2Dot14(_);

The F2DOT14 format consists of a signed, 2’s complement integer and an unsigned fraction.

To compute the actual value, take the integer and add the fraction.

Implementations

impl F2Dot14[src]

pub fn new(value: u16) -> Self[src]

Trait Implementations

impl Clone for F2Dot14[src]

impl Copy for F2Dot14[src]

impl Debug for F2Dot14[src]

impl PartialEq<F2Dot14> for F2Dot14[src]

impl<'a> ReadFrom<'a> for F2Dot14[src]

type ReadType = U16Be

impl StructuralPartialEq for F2Dot14[src]

impl WriteBinary<F2Dot14> for F2Dot14[src]

type Output = ()

The type of the value returned by write.

Auto Trait Implementations

impl RefUnwindSafe for F2Dot14

impl Send for F2Dot14

impl Sync for F2Dot14

impl Unpin for F2Dot14

impl UnwindSafe for F2Dot14

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<'a, T> ReadBinary<'a> for T where
    T: ReadUnchecked<'a>, 
[src]

type HostType = <T as ReadUnchecked<'a>>::HostType

impl<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

impl<'a, T> ReadFixedSizeDep<'a> for T where
    T: ReadUnchecked<'a>, 
[src]

impl<'a, T> ReadUnchecked<'a> for T where
    T: ReadFrom<'a>, 
[src]

type HostType = T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T, HostType> WriteBinaryDep<HostType> for T where
    T: WriteBinary<HostType>, 
[src]

type Args = ()

The type of the arguments supplied to write_dep.

type Output = <T as WriteBinary<HostType>>::Output

The type of the value returned by write_dep.