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 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
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
)