Struct read_fonts::tables::gasp::GaspRange
source · #[repr(C, packed(1))]pub struct GaspRange {
pub range_max_ppem: BigEndian<u16>,
pub range_gasp_behavior: BigEndian<GaspRangeBehavior>,
}
Fields§
§range_max_ppem: BigEndian<u16>
Upper limit of range, in PPEM
range_gasp_behavior: BigEndian<GaspRangeBehavior>
Flags describing desired rasterizer behavior.
Implementations§
source§impl GaspRange
impl GaspRange
sourcepub fn range_max_ppem(&self) -> u16
pub fn range_max_ppem(&self) -> u16
Upper limit of range, in PPEM
sourcepub fn range_gasp_behavior(&self) -> GaspRangeBehavior
pub fn range_gasp_behavior(&self) -> GaspRangeBehavior
Flags describing desired rasterizer behavior.
Trait Implementations§
source§impl FixedSize for GaspRange
impl FixedSize for GaspRange
source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
source§impl Ord for GaspRange
impl Ord for GaspRange
source§impl PartialEq for GaspRange
impl PartialEq for GaspRange
source§impl PartialOrd for GaspRange
impl PartialOrd for GaspRange
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> SomeRecord<'a> for GaspRange
impl<'a> SomeRecord<'a> for GaspRange
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for GaspRange
impl Copy for GaspRange
impl Eq for GaspRange
impl StructuralPartialEq for GaspRange
Auto Trait Implementations§
impl Freeze for GaspRange
impl RefUnwindSafe for GaspRange
impl Send for GaspRange
impl Sync for GaspRange
impl Unpin for GaspRange
impl UnwindSafe for GaspRange
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,
§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
.