Struct read_fonts::tables::ift::DesignSpaceSegment
source · #[repr(C, packed(1))]pub struct DesignSpaceSegment {
pub axis_tag: BigEndian<Tag>,
pub start: BigEndian<Fixed>,
pub end: BigEndian<Fixed>,
}
Fields§
§axis_tag: BigEndian<Tag>
§start: BigEndian<Fixed>
§end: BigEndian<Fixed>
Implementations§
Trait Implementations§
source§impl Clone for DesignSpaceSegment
impl Clone for DesignSpaceSegment
source§fn clone(&self) -> DesignSpaceSegment
fn clone(&self) -> DesignSpaceSegment
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 DesignSpaceSegment
impl Debug for DesignSpaceSegment
source§impl FixedSize for DesignSpaceSegment
impl FixedSize for DesignSpaceSegment
source§const RAW_BYTE_LEN: usize = 12usize
const RAW_BYTE_LEN: usize = 12usize
The raw size of this type, in bytes. Read more
source§impl Hash for DesignSpaceSegment
impl Hash for DesignSpaceSegment
source§impl Ord for DesignSpaceSegment
impl Ord for DesignSpaceSegment
source§fn cmp(&self, other: &DesignSpaceSegment) -> Ordering
fn cmp(&self, other: &DesignSpaceSegment) -> 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 DesignSpaceSegment
impl PartialEq for DesignSpaceSegment
source§impl PartialOrd for DesignSpaceSegment
impl PartialOrd for DesignSpaceSegment
source§impl<'a> SomeRecord<'a> for DesignSpaceSegment
impl<'a> SomeRecord<'a> for DesignSpaceSegment
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for DesignSpaceSegment
impl Copy for DesignSpaceSegment
impl Eq for DesignSpaceSegment
impl StructuralPartialEq for DesignSpaceSegment
Auto Trait Implementations§
impl Freeze for DesignSpaceSegment
impl RefUnwindSafe for DesignSpaceSegment
impl Send for DesignSpaceSegment
impl Sync for DesignSpaceSegment
impl Unpin for DesignSpaceSegment
impl UnwindSafe for DesignSpaceSegment
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
)