Struct read_fonts::tables::variations::RegionAxisCoordinates
source · #[repr(C, packed(1))]pub struct RegionAxisCoordinates {
pub start_coord: BigEndian<F2Dot14>,
pub peak_coord: BigEndian<F2Dot14>,
pub end_coord: BigEndian<F2Dot14>,
}
Expand description
The RegionAxisCoordinates record
Fields§
§start_coord: BigEndian<F2Dot14>
The region start coordinate value for the current axis.
peak_coord: BigEndian<F2Dot14>
The region peak coordinate value for the current axis.
end_coord: BigEndian<F2Dot14>
The region end coordinate value for the current axis.
Implementations§
source§impl RegionAxisCoordinates
impl RegionAxisCoordinates
sourcepub fn start_coord(&self) -> F2Dot14
pub fn start_coord(&self) -> F2Dot14
The region start coordinate value for the current axis.
sourcepub fn peak_coord(&self) -> F2Dot14
pub fn peak_coord(&self) -> F2Dot14
The region peak coordinate value for the current axis.
Trait Implementations§
source§impl Clone for RegionAxisCoordinates
impl Clone for RegionAxisCoordinates
source§fn clone(&self) -> RegionAxisCoordinates
fn clone(&self) -> RegionAxisCoordinates
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 RegionAxisCoordinates
impl Debug for RegionAxisCoordinates
source§impl FixedSize for RegionAxisCoordinates
impl FixedSize for RegionAxisCoordinates
source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more
source§impl Hash for RegionAxisCoordinates
impl Hash for RegionAxisCoordinates
source§impl Ord for RegionAxisCoordinates
impl Ord for RegionAxisCoordinates
source§fn cmp(&self, other: &RegionAxisCoordinates) -> Ordering
fn cmp(&self, other: &RegionAxisCoordinates) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RegionAxisCoordinates
impl PartialEq for RegionAxisCoordinates
source§impl PartialOrd for RegionAxisCoordinates
impl PartialOrd for RegionAxisCoordinates
source§impl<'a> SomeRecord<'a> for RegionAxisCoordinates
impl<'a> SomeRecord<'a> for RegionAxisCoordinates
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for RegionAxisCoordinates
impl Copy for RegionAxisCoordinates
impl Eq for RegionAxisCoordinates
impl StructuralPartialEq for RegionAxisCoordinates
Auto Trait Implementations§
impl Freeze for RegionAxisCoordinates
impl RefUnwindSafe for RegionAxisCoordinates
impl Send for RegionAxisCoordinates
impl Sync for RegionAxisCoordinates
impl Unpin for RegionAxisCoordinates
impl UnwindSafe for RegionAxisCoordinates
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
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)