pub enum UserValue {
Int(i32),
Str(Vec<u8>),
Tokens(TokenList),
Nodes(NodeRef),
Lua(i32),
Attr,
}Expand description
The value of a user_defined whatsit, by its type (LuaTeX manual:
a, d, l, n, s, t).
Variants§
Int(i32)
d: a number.
Str(Vec<u8>)
s: a string.
Tokens(TokenList)
t: a token list.
Nodes(NodeRef)
n: a node list.
Lua(i32)
l: a Lua value, by its reference number.
Attr
a: an attribute list (not modelled).
Trait Implementations§
impl StructuralPartialEq for UserValue
Auto Trait Implementations§
impl !Send for UserValue
impl !Sync for UserValue
impl Freeze for UserValue
impl RefUnwindSafe for UserValue
impl Unpin for UserValue
impl UnsafeUnpin for UserValue
impl UnwindSafe for UserValue
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