Struct write_fonts::tables::cmap::SequentialMapGroup
source · pub struct SequentialMapGroup {
pub start_char_code: u32,
pub end_char_code: u32,
pub start_glyph_id: u32,
}Fields§
§start_char_code: u32First character code in this group; note that if this group is for one or more 16-bit character codes (which is determined from the is32 array), this 32-bit value will have the high 16-bits set to zero
end_char_code: u32Last character code in this group; same condition as listed above for the startCharCode
start_glyph_id: u32Glyph index corresponding to the starting character code
Implementations§
Trait Implementations§
source§impl Clone for SequentialMapGroup
impl Clone for SequentialMapGroup
source§fn clone(&self) -> SequentialMapGroup
fn clone(&self) -> SequentialMapGroup
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 SequentialMapGroup
impl Debug for SequentialMapGroup
source§impl Default for SequentialMapGroup
impl Default for SequentialMapGroup
source§fn default() -> SequentialMapGroup
fn default() -> SequentialMapGroup
Returns the “default value” for a type. Read more
source§impl FontWrite for SequentialMapGroup
impl FontWrite for SequentialMapGroup
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<SequentialMapGroup> for SequentialMapGroup
impl FromObjRef<SequentialMapGroup> for SequentialMapGroup
source§fn from_obj_ref(obj: &SequentialMapGroup, _: FontData<'_>) -> Self
fn from_obj_ref(obj: &SequentialMapGroup, _: FontData<'_>) -> Self
Convert
from to an instance of Self, using the provided data to resolve offsets.source§impl Validate for SequentialMapGroup
impl Validate for SequentialMapGroup
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 SequentialMapGroup
impl Send for SequentialMapGroup
impl Sync for SequentialMapGroup
impl Unpin for SequentialMapGroup
impl UnwindSafe for SequentialMapGroup
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.