Struct write_fonts::tables::layout::CoverageFormat2
source · pub struct CoverageFormat2 {
pub range_records: Vec<RangeRecord>,
}
Expand description
Fields§
§range_records: Vec<RangeRecord>
Array of glyph ranges — ordered by startGlyphID.
Implementations§
source§impl CoverageFormat2
impl CoverageFormat2
sourcepub fn new(range_records: Vec<RangeRecord>) -> Self
pub fn new(range_records: Vec<RangeRecord>) -> Self
Construct a new CoverageFormat2
Trait Implementations§
source§impl Clone for CoverageFormat2
impl Clone for CoverageFormat2
source§fn clone(&self) -> CoverageFormat2
fn clone(&self) -> CoverageFormat2
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 CoverageFormat2
impl Debug for CoverageFormat2
source§impl Default for CoverageFormat2
impl Default for CoverageFormat2
source§fn default() -> CoverageFormat2
fn default() -> CoverageFormat2
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for CoverageFormat2
impl<'a> FontRead<'a> for CoverageFormat2
source§impl FontWrite for CoverageFormat2
impl FontWrite for CoverageFormat2
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 Validate for CoverageFormat2
impl Validate for CoverageFormat2
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 CoverageFormat2
impl Send for CoverageFormat2
impl Sync for CoverageFormat2
impl Unpin for CoverageFormat2
impl UnwindSafe for CoverageFormat2
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.