Struct write_fonts::NullableOffsetMarker
source · [−]pub struct NullableOffsetMarker<T, const N: usize = WIDTH_16> { /* private fields */ }Expand description
An offset subtable which may be null.
The generic const N is the width of the offset, in bytes.
Implementations
Trait Implementations
sourceimpl<T: Clone, const N: usize> Clone for NullableOffsetMarker<T, N>
impl<T: Clone, const N: usize> Clone for NullableOffsetMarker<T, N>
sourcefn clone(&self) -> NullableOffsetMarker<T, N>
fn clone(&self) -> NullableOffsetMarker<T, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T: Debug, const N: usize> Debug for NullableOffsetMarker<T, N>
impl<T: Debug, const N: usize> Debug for NullableOffsetMarker<T, N>
sourceimpl<T: Default, const N: usize> Default for NullableOffsetMarker<T, N>
impl<T: Default, const N: usize> Default for NullableOffsetMarker<T, N>
sourcefn default() -> NullableOffsetMarker<T, N>
fn default() -> NullableOffsetMarker<T, N>
Returns the “default value” for a type. Read more
sourceimpl<const N: usize, T: FontWrite> FontWrite for NullableOffsetMarker<T, N>
impl<const N: usize, T: FontWrite> FontWrite for NullableOffsetMarker<T, N>
sourcefn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
sourceimpl<const N: usize, T, U> From<Option<Result<U, ReadError>>> for NullableOffsetMarker<T, N>where
T: FromTableRef<U>,
impl<const N: usize, T, U> From<Option<Result<U, ReadError>>> for NullableOffsetMarker<T, N>where
T: FromTableRef<U>,
sourceimpl<T: PartialEq, const N: usize> PartialEq<NullableOffsetMarker<T, N>> for NullableOffsetMarker<T, N>
impl<T: PartialEq, const N: usize> PartialEq<NullableOffsetMarker<T, N>> for NullableOffsetMarker<T, N>
sourcefn eq(&self, other: &NullableOffsetMarker<T, N>) -> bool
fn eq(&self, other: &NullableOffsetMarker<T, N>) -> bool
sourceimpl<const N: usize, T: Validate> Validate for NullableOffsetMarker<T, N>
impl<const N: usize, T: Validate> Validate for NullableOffsetMarker<T, N>
sourcefn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl<T: Eq, const N: usize> Eq for NullableOffsetMarker<T, N>
impl<T, const N: usize> StructuralEq for NullableOffsetMarker<T, N>
impl<T, const N: usize> StructuralPartialEq for NullableOffsetMarker<T, N>
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for NullableOffsetMarker<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for NullableOffsetMarker<T, N>where
T: Send,
impl<T, const N: usize> Sync for NullableOffsetMarker<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for NullableOffsetMarker<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for NullableOffsetMarker<T, N>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more