pub enum BoxContext {
Shift(i32),
SetBox(u32),
GlobalSetBox(u32),
Shipout,
Leaders(u16),
Lua,
}Expand description
The context in which a box is being built (box_context).
Variants§
Shift(i32)
Shift by the given amount and append (\moveleft, \raise, or plain
appending with 0).
SetBox(u32)
\setbox n=.
GlobalSetBox(u32)
\global\setbox n=.
Shipout
\shipout.
Leaders(u16)
Leaders of the given glue subtype.
Lua
Handed to Lua (token.scan_list, see Engine::scan_list).
Trait Implementations§
Source§impl Clone for BoxContext
impl Clone for BoxContext
impl Copy for BoxContext
Source§impl Debug for BoxContext
impl Debug for BoxContext
impl Eq for BoxContext
Source§impl PartialEq for BoxContext
impl PartialEq for BoxContext
impl StructuralPartialEq for BoxContext
Auto Trait Implementations§
impl Freeze for BoxContext
impl RefUnwindSafe for BoxContext
impl Send for BoxContext
impl Sync for BoxContext
impl Unpin for BoxContext
impl UnsafeUnpin for BoxContext
impl UnwindSafe for BoxContext
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