pub struct Properties {
pub nodes: HashSet<u32>,
pub flush: bool,
pub copy: bool,
pub events: Vec<PropEvent>,
}Expand description
LuaTeX’s node properties as the engine tracks them: which nodes have
one, the mode set by node.set_properties_mode(flush, copy), and the
frees and copies of such nodes since the Lua side last looked.
Fields§
§nodes: HashSet<u32>Nodes with a property (only tracked when flush or copy is on).
flush: boolProperties go when their node is freed.
copy: boolCopies of a node get a property that inherits from the original.
events: Vec<PropEvent>Pending events, oldest first.
Trait Implementations§
Source§impl Clone for Properties
impl Clone for Properties
Source§impl Debug for Properties
impl Debug for Properties
Auto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnsafeUnpin for Properties
impl UnwindSafe for Properties
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