Struct write_fonts::tables::gpos::Mark2Array
source · pub struct Mark2Array {
pub mark2_records: Vec<Mark2Record>,
}Expand description
Part of MarkMarkPosFormat1Class2Record
Fields§
§mark2_records: Vec<Mark2Record>Array of Mark2Records, in Coverage order.
Implementations§
source§impl Mark2Array
impl Mark2Array
sourcepub fn new(mark2_records: Vec<Mark2Record>) -> Self
pub fn new(mark2_records: Vec<Mark2Record>) -> Self
Construct a new Mark2Array
Trait Implementations§
source§impl Clone for Mark2Array
impl Clone for Mark2Array
source§fn clone(&self) -> Mark2Array
fn clone(&self) -> Mark2Array
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 Mark2Array
impl Debug for Mark2Array
source§impl Default for Mark2Array
impl Default for Mark2Array
source§fn default() -> Mark2Array
fn default() -> Mark2Array
Returns the “default value” for a type. Read more
source§impl FontWrite for Mark2Array
impl FontWrite for Mark2Array
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.
fn name(&self) -> &'static str
source§impl Validate for Mark2Array
impl Validate for Mark2Array
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 Mark2Array
impl Send for Mark2Array
impl Sync for Mark2Array
impl Unpin for Mark2Array
impl UnwindSafe for Mark2Array
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<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.