pub enum Container {
Pfb,
Pfa,
Bare,
}Expand description
Which wrapper the bytes turned out to be in. Reported so callers (and tests) can tell a genuine PFA from a bare program that merely parses like one.
Variants§
Pfb
Segmented binary container (0x80 0x01 …).
Pfa
ASCII container with a %!PS-AdobeFont or %!FontType1 banner.
Bare
No recognisable banner; read as if it were PFA.
Trait Implementations§
impl Copy for Container
impl Eq for Container
impl StructuralPartialEq for Container
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnsafeUnpin for Container
impl UnwindSafe for Container
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