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 PartialOrd for Number
impl PartialOrd for Number
impl 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