[][src]Enum allsorts::tables::IndexToLocFormat

pub enum IndexToLocFormat {
    Short,
    Long,
}

The size of the offsets in the loca table

https://docs.microsoft.com/en-us/typography/opentype/spec/loca

Variants

Short

Offsets are 16-bit. The actual local offset divided by 2 is stored.

Long

Offsets are 32-bit. The actual local offset is stored.

Trait Implementations

impl<'a> ReadBinary<'a> for IndexToLocFormat[src]

type HostType = Self

impl WriteBinary<IndexToLocFormat> for IndexToLocFormat[src]

type Output = ()

The type of the value returned by write.

impl Clone for IndexToLocFormat[src]

impl Copy for IndexToLocFormat[src]

impl Eq for IndexToLocFormat[src]

impl PartialEq<IndexToLocFormat> for IndexToLocFormat[src]

impl Debug for IndexToLocFormat[src]

impl StructuralPartialEq for IndexToLocFormat[src]

impl StructuralEq for IndexToLocFormat[src]

Auto Trait Implementations

Blanket Implementations

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<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.

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

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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