Struct allsorts_no_std::tables::MaxpVersion1SubTable [−][src]
Fields
max_points: u16
Maximum points in a non-composite glyph.
max_contours: u16
Maximum contours in a non-composite glyph.
max_composite_points: u16
Maximum points in a composite glyph.
max_composite_contours: u16
Maximum contours in a composite glyph.
max_zones: u16
1 if instructions do not use the twilight zone (Z0), or 2 if instructions do use Z0; should be set to 2 in most cases.
max_twilight_points: u16
Maximum points used in Z0.
max_storage: u16
Number of Storage Area locations.
max_function_defs: u16
Number of FDEFs, equal to the highest function number + 1.
max_instruction_defs: u16
Number of IDEFs.
max_stack_elements: u16
Maximum stack depth across Font Program (‘fpgm’ table), CVT Program (‘prep’ table) and all glyph instructions (in the ‘glyf’ table).
max_size_of_instructions: u16
Maximum byte count for glyph instructions.
max_component_elements: u16
Maximum number of components referenced at “top level” for any composite glyph.
max_component_depth: u16
Maximum levels of recursion; 1 for simple components.
Trait Implementations
impl Clone for MaxpVersion1SubTable
[src]
fn clone(&self) -> MaxpVersion1SubTable
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MaxpVersion1SubTable
[src]
impl Hash for MaxpVersion1SubTable
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<MaxpVersion1SubTable> for MaxpVersion1SubTable
[src]
fn eq(&self, other: &MaxpVersion1SubTable) -> bool
[src]
fn ne(&self, other: &MaxpVersion1SubTable) -> bool
[src]
impl PartialOrd<MaxpVersion1SubTable> for MaxpVersion1SubTable
[src]
fn partial_cmp(&self, other: &MaxpVersion1SubTable) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> ReadBinary<'a> for MaxpVersion1SubTable
[src]
impl StructuralPartialEq for MaxpVersion1SubTable
[src]
impl<'a> WriteBinary<&'_ MaxpVersion1SubTable> for MaxpVersion1SubTable
[src]
type Output = ()
The type of the value returned by write
.
fn write<C: WriteContext>(
ctxt: &mut C,
table: &MaxpVersion1SubTable
) -> Result<(), WriteError>
[src]
ctxt: &mut C,
table: &MaxpVersion1SubTable
) -> Result<(), WriteError>
Auto Trait Implementations
impl RefUnwindSafe for MaxpVersion1SubTable
impl Send for MaxpVersion1SubTable
impl Sync for MaxpVersion1SubTable
impl Unpin for MaxpVersion1SubTable
impl UnwindSafe for MaxpVersion1SubTable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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
.
pub 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,