Struct write_fonts::tables::gdef::AttachList
source · pub struct AttachList {
pub coverage: OffsetMarker<CoverageTable>,
pub attach_points: Vec<OffsetMarker<AttachPoint>>,
}Expand description
Fields§
§coverage: OffsetMarker<CoverageTable>Offset to Coverage table - from beginning of AttachList table
attach_points: Vec<OffsetMarker<AttachPoint>>Array of offsets to AttachPoint tables-from beginning of AttachList table-in Coverage Index order
Implementations§
source§impl AttachList
impl AttachList
sourcepub fn new(coverage: CoverageTable, attach_points: Vec<AttachPoint>) -> Self
pub fn new(coverage: CoverageTable, attach_points: Vec<AttachPoint>) -> Self
Construct a new AttachList
Trait Implementations§
source§impl Clone for AttachList
impl Clone for AttachList
source§fn clone(&self) -> AttachList
fn clone(&self) -> AttachList
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 AttachList
impl Debug for AttachList
source§impl Default for AttachList
impl Default for AttachList
source§fn default() -> AttachList
fn default() -> AttachList
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for AttachList
impl<'a> FontRead<'a> for AttachList
source§impl FontWrite for AttachList
impl FontWrite for AttachList
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§fn table_type(&self) -> TableType
fn table_type(&self) -> TableType
The type of this table. Read more
source§impl Validate for AttachList
impl Validate for AttachList
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 AttachList
impl Send for AttachList
impl Sync for AttachList
impl Unpin for AttachList
impl UnwindSafe for AttachList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> FontReadWithArgs<'a> for Twhere
T: FontRead<'a>,
impl<'a, T> FontReadWithArgs<'a> for Twhere T: FontRead<'a>,
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.