Struct ttf_parser::opentype_layout::RangeRecord
source · pub struct RangeRecord {
pub start: GlyphId,
pub end: GlyphId,
pub value: u16,
}
Expand description
A record that describes a range of glyph IDs.
Fields§
§start: GlyphId
First glyph ID in the range
end: GlyphId
Last glyph ID in the range
value: u16
Coverage Index of first glyph ID in range.
Trait Implementations§
source§impl Clone for RangeRecord
impl Clone for RangeRecord
source§fn clone(&self) -> RangeRecord
fn clone(&self) -> RangeRecord
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 RangeRecord
impl Debug for RangeRecord
source§impl FromData for RangeRecord
impl FromData for RangeRecord
impl Copy for RangeRecord
Auto Trait Implementations§
impl Freeze for RangeRecord
impl RefUnwindSafe for RangeRecord
impl Send for RangeRecord
impl Sync for RangeRecord
impl Unpin for RangeRecord
impl UnwindSafe for RangeRecord
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