Struct write_fonts::tables::cmap::UnicodeRange
source · pub struct UnicodeRange {
pub start_unicode_value: Uint24,
pub additional_count: u8,
}Expand description
Part of Cmap14
Fields§
§start_unicode_value: Uint24First value in this range
additional_count: u8Number of additional values in this range
Implementations§
Trait Implementations§
source§impl Clone for UnicodeRange
impl Clone for UnicodeRange
source§fn clone(&self) -> UnicodeRange
fn clone(&self) -> UnicodeRange
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 UnicodeRange
impl Debug for UnicodeRange
source§impl Default for UnicodeRange
impl Default for UnicodeRange
source§fn default() -> UnicodeRange
fn default() -> UnicodeRange
Returns the “default value” for a type. Read more
source§impl FontWrite for UnicodeRange
impl FontWrite for UnicodeRange
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 FromObjRef<UnicodeRange> for UnicodeRange
impl FromObjRef<UnicodeRange> for UnicodeRange
source§fn from_obj_ref(obj: &UnicodeRange, _: FontData<'_>) -> Self
fn from_obj_ref(obj: &UnicodeRange, _: FontData<'_>) -> Self
Convert
from to an instance of Self, using the provided data to resolve offsets.source§impl Validate for UnicodeRange
impl Validate for UnicodeRange
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 UnicodeRange
impl Send for UnicodeRange
impl Sync for UnicodeRange
impl Unpin for UnicodeRange
impl UnwindSafe for UnicodeRange
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.