Enum read_fonts::tables::postscript::Number
source · pub enum Number {
I32(i32),
Fixed(Fixed),
}
Expand description
Either a signed 32-bit integer or a 16.16 fixed point number.
This represents the CFF “number” operand type. See “Table 6 Operand Types” at https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf
Variants§
Trait Implementations§
source§impl Ord for Number
impl Ord for Number
source§impl PartialEq for Number
impl PartialEq for Number
source§impl PartialOrd for Number
impl PartialOrd for Number
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 moreimpl Copy for Number
impl Eq for Number
impl StructuralPartialEq for Number
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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