Enum write_fonts::tables::layout::CoverageTable
source · pub enum CoverageTable {
Format1(CoverageFormat1),
Format2(CoverageFormat2),
}
Expand description
Variants§
Format1(CoverageFormat1)
Format2(CoverageFormat2)
Implementations§
source§impl CoverageTable
impl CoverageTable
Trait Implementations§
source§impl Clone for CoverageTable
impl Clone for CoverageTable
source§fn clone(&self) -> CoverageTable
fn clone(&self) -> CoverageTable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CoverageTable
impl Debug for CoverageTable
source§impl Default for CoverageTable
impl Default for CoverageTable
source§impl<'a> FontRead<'a> for CoverageTable
impl<'a> FontRead<'a> for CoverageTable
source§impl FontWrite for CoverageTable
impl FontWrite for CoverageTable
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
source§impl FromObjRef<CoverageTable<'_>> for CoverageTable
impl FromObjRef<CoverageTable<'_>> for CoverageTable
source§fn from_obj_ref(obj: &CoverageTable<'_>, _: FontData<'_>) -> Self
fn from_obj_ref(obj: &CoverageTable<'_>, _: FontData<'_>) -> Self
Convert
from
to an instance of Self
, using the provided data to resolve offsets.source§impl FromTableRef<CoverageTable<'_>> for CoverageTable
impl FromTableRef<CoverageTable<'_>> for CoverageTable
fn from_table_ref(from: &T) -> Self
source§impl Validate for CoverageTable
impl Validate for CoverageTable
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CoverageTable
impl Send for CoverageTable
impl Sync for CoverageTable
impl Unpin for CoverageTable
impl UnwindSafe for CoverageTable
Blanket Implementations§
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T
, using the provided data to resolve any offsets.