#[repr(u8)]pub enum ZonePointer {
Twilight = 0,
Glyph = 1,
}
Expand description
Reference to either the twilight or glyph zone.
See https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructing_glyphs#zones
Variants§
Implementations§
Source§impl ZonePointer
impl ZonePointer
pub fn is_twilight(self) -> bool
Trait Implementations§
Source§impl Clone for ZonePointer
impl Clone for ZonePointer
Source§fn clone(&self) -> ZonePointer
fn clone(&self) -> ZonePointer
Returns a duplicate 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 ZonePointer
impl Debug for ZonePointer
Source§impl Default for ZonePointer
impl Default for ZonePointer
Source§fn default() -> ZonePointer
fn default() -> ZonePointer
Returns the “default value” for a type. Read more
Source§impl PartialEq for ZonePointer
impl PartialEq for ZonePointer
Source§impl TryFrom<i32> for ZonePointer
impl TryFrom<i32> for ZonePointer
impl Copy for ZonePointer
impl StructuralPartialEq for ZonePointer
Auto Trait Implementations§
impl Freeze for ZonePointer
impl RefUnwindSafe for ZonePointer
impl Send for ZonePointer
impl Sync for ZonePointer
impl Unpin for ZonePointer
impl UnwindSafe for ZonePointer
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