[−][src]Enum allsorts::tables::IndexToLocFormat
The size of the offsets in the loca
table
https://docs.microsoft.com/en-us/typography/opentype/spec/loca
Variants
Offsets are 16-bit. The actual local offset divided by 2 is stored.
Offsets are 32-bit. The actual local offset is stored.
Trait Implementations
impl<'a> ReadBinary<'a> for IndexToLocFormat
[src]
impl WriteBinary<IndexToLocFormat> for IndexToLocFormat
[src]
type Output = ()
The type of the value returned by write
.
fn write<C: WriteContext>(
ctxt: &mut C,
index_to_loc_format: Self
) -> Result<(), WriteError>
[src]
ctxt: &mut C,
index_to_loc_format: Self
) -> Result<(), WriteError>
impl Clone for IndexToLocFormat
[src]
fn clone(&self) -> IndexToLocFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IndexToLocFormat
[src]
impl Eq for IndexToLocFormat
[src]
impl PartialEq<IndexToLocFormat> for IndexToLocFormat
[src]
fn eq(&self, other: &IndexToLocFormat) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for IndexToLocFormat
[src]
impl StructuralPartialEq for IndexToLocFormat
[src]
impl StructuralEq for IndexToLocFormat
[src]
Auto Trait Implementations
impl Send for IndexToLocFormat
impl Sync for IndexToLocFormat
impl Unpin for IndexToLocFormat
impl UnwindSafe for IndexToLocFormat
impl RefUnwindSafe for IndexToLocFormat
Blanket Implementations
impl<'a, T> ReadBinary<'a> for T where
T: ReadUnchecked<'a>,
[src]
T: ReadUnchecked<'a>,
type HostType = <T as ReadUnchecked<'a>>::HostType
fn read(
&mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
impl<T, HostType> WriteBinaryDep<HostType> for T where
T: WriteBinary<HostType>,
[src]
T: WriteBinary<HostType>,
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
.
fn write_dep<C>(
&mut C,
HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
[src]
&mut C,
HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,