#[repr(C, packed(1))]pub struct FeatMinMaxRecord {
pub feature_table_tag: BigEndian<Tag>,
pub min_coord_offset: BigEndian<Nullable<Offset16>>,
pub max_coord_offset: BigEndian<Nullable<Offset16>>,
}
Expand description
Fields§
§feature_table_tag: BigEndian<Tag>
4-byte feature identification tag — must match feature tag in FeatureList
min_coord_offset: BigEndian<Nullable<Offset16>>
Offset to BaseCoord table that defines the minimum extent value, from beginning of MinMax table (may be NULL)
max_coord_offset: BigEndian<Nullable<Offset16>>
Offset to BaseCoord table that defines the maximum extent value, from beginning of MinMax table (may be NULL)
Implementations§
Source§impl FeatMinMaxRecord
impl FeatMinMaxRecord
Sourcepub fn feature_table_tag(&self) -> Tag
pub fn feature_table_tag(&self) -> Tag
4-byte feature identification tag — must match feature tag in FeatureList
Sourcepub fn min_coord_offset(&self) -> Nullable<Offset16>
pub fn min_coord_offset(&self) -> Nullable<Offset16>
Offset to BaseCoord table that defines the minimum extent value, from beginning of MinMax table (may be NULL)
Sourcepub fn min_coord<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<MinMax<'a>, ReadError>>
pub fn min_coord<'a>( &self, data: FontData<'a>, ) -> Option<Result<MinMax<'a>, ReadError>>
Offset to BaseCoord table that defines the minimum extent value, from beginning of MinMax table (may be NULL)
The data
argument should be retrieved from the parent table
By calling its offset_data
method.
Sourcepub fn max_coord_offset(&self) -> Nullable<Offset16>
pub fn max_coord_offset(&self) -> Nullable<Offset16>
Offset to BaseCoord table that defines the maximum extent value, from beginning of MinMax table (may be NULL)
Sourcepub fn max_coord<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<MinMax<'a>, ReadError>>
pub fn max_coord<'a>( &self, data: FontData<'a>, ) -> Option<Result<MinMax<'a>, ReadError>>
Offset to BaseCoord table that defines the maximum extent value, from beginning of MinMax table (may be NULL)
The data
argument should be retrieved from the parent table
By calling its offset_data
method.
Trait Implementations§
Source§impl Clone for FeatMinMaxRecord
impl Clone for FeatMinMaxRecord
Source§fn clone(&self) -> FeatMinMaxRecord
fn clone(&self) -> FeatMinMaxRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FeatMinMaxRecord
impl Debug for FeatMinMaxRecord
Source§impl FixedSize for FeatMinMaxRecord
impl FixedSize for FeatMinMaxRecord
Source§const RAW_BYTE_LEN: usize = 8usize
const RAW_BYTE_LEN: usize = 8usize
impl AnyBitPattern for FeatMinMaxRecord
impl Copy for FeatMinMaxRecord
Auto Trait Implementations§
impl Freeze for FeatMinMaxRecord
impl RefUnwindSafe for FeatMinMaxRecord
impl Send for FeatMinMaxRecord
impl Sync for FeatMinMaxRecord
impl Unpin for FeatMinMaxRecord
impl UnwindSafe for FeatMinMaxRecord
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
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
bits
as &Self
.