pub enum Kind {
}Expand description
What a PostScript object is, with its value.
Variants§
Operator(&'static str)
ps_operator, by name; the interpreter runs it.
Procedure(Vec<ObjRef>)
ps_procedure.
Name(String)
ps_name.
Literal(String)
ps_literal.
Array(Vec<Option<ObjRef>>)
ps_array; None for the elements array leaves unset.
Dict(DictRef)
ps_dict.
Font(DictRef)
ps_font.
Mark
ps_mark.
ProcMark
ps_procmark.
Null
ps_null.
File(u64)
ps_file: the tokenizer of the interpreter, by identity.
Boolean
ps_boolean. true and false of systemdict hold the integers 1 and 0
in fontTools (py_bool false); the comparison operators hold Python
booleans.
Fields
String(PsString)
ps_string.
Integer(i64)
ps_integer.
Real(f64)
ps_real.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Kind
impl !Send for Kind
impl !Sync for Kind
impl !UnwindSafe for Kind
impl Forget for Kind
impl Freeze for Kindwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<Rc<RefCell<PsObject>>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Option<Rc<RefCell<PsObject>>>>: Freeze,
*const RcInner<RefCell<IndexMap<Key, Rc<RefCell<PsObject>>>>> is !null: Freeze,
PhantomData<RcInner<RefCell<IndexMap<Key, Rc<RefCell<PsObject>>>>>>: Freeze,
impl Move for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kindwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Rc<RefCell<PsObject>>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Option<Rc<RefCell<PsObject>>>>: UnsafeUnpin,
*const RcInner<RefCell<IndexMap<Key, Rc<RefCell<PsObject>>>>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<IndexMap<Key, Rc<RefCell<PsObject>>>>>>: UnsafeUnpin,
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