pub struct Cid(pub u16);Expand description
A character identifier: an index into a character collection, which a
CIDFont turns into a glyph (ISO 32000-1 §9.7.4). CID 0 is .notdef and is
also what an unmapped character code yields.
use pdfrum_cmap::Cid;
assert_eq!(Cid::default(), Cid(0)); // .notdefTuple Fields§
§0: u16Trait Implementations§
impl Copy for Cid
impl Eq for Cid
Source§impl Ord for Cid
impl Ord for Cid
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Cid
impl PartialOrd for Cid
impl StructuralPartialEq for Cid
Auto Trait Implementations§
impl Freeze for Cid
impl RefUnwindSafe for Cid
impl Send for Cid
impl Sync for Cid
impl Unpin for Cid
impl UnsafeUnpin for Cid
impl UnwindSafe for Cid
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