#[repr(C, packed(1))]pub struct VariationSelector15 {
pub var_selector: BigEndian<Uint24>,
pub default_uvs_offset: BigEndian<Nullable<Offset32>>,
pub non_default_uvs_offset: BigEndian<Nullable<Offset32>>,
}Expand description
Part of Cmap15.
Fields§
§var_selector: BigEndian<Uint24>§default_uvs_offset: BigEndian<Nullable<Offset32>>§non_default_uvs_offset: BigEndian<Nullable<Offset32>>Implementations§
Source§impl VariationSelector15
impl VariationSelector15
pub fn var_selector(&self) -> Uint24
pub fn default_uvs_offset(&self) -> Nullable<Offset32>
Sourcepub fn default_uvs<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<DefaultUvs<'a>, ReadError>>
pub fn default_uvs<'a>( &self, data: FontData<'a>, ) -> Option<Result<DefaultUvs<'a>, ReadError>>
The data argument should be retrieved from the parent table
By calling its offset_data method.
pub fn non_default_uvs_offset(&self) -> Nullable<Offset32>
Sourcepub fn non_default_uvs<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<NonDefaultUvs24<'a>, ReadError>>
pub fn non_default_uvs<'a>( &self, data: FontData<'a>, ) -> Option<Result<NonDefaultUvs24<'a>, ReadError>>
The data argument should be retrieved from the parent table
By calling its offset_data method.
Trait Implementations§
impl AnyBitPattern for VariationSelector15
Source§impl Clone for VariationSelector15
impl Clone for VariationSelector15
Source§fn clone(&self) -> VariationSelector15
fn clone(&self) -> VariationSelector15
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VariationSelector15
Source§impl Debug for VariationSelector15
impl Debug for VariationSelector15
Source§impl FixedSize for VariationSelector15
impl FixedSize for VariationSelector15
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
Auto Trait Implementations§
impl Freeze for VariationSelector15
impl RefUnwindSafe for VariationSelector15
impl Send for VariationSelector15
impl Sync for VariationSelector15
impl Unpin for VariationSelector15
impl UnsafeUnpin for VariationSelector15
impl UnwindSafe for VariationSelector15
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<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.