pub enum Slot {
GroupChild(usize),
Argument(usize),
ScriptBase,
ScriptSub,
ScriptSup,
InfixLeft,
InfixRight,
EnvBody,
}Expand description
The direct attachment site a child occupies in its parent.
Variants§
GroupChild(usize)
Child at an index inside Node::Root::children / Node::Group::children
Argument(usize)
Content argument stored in an argument list slot
ScriptBase
Base child of Node::Scripted
ScriptSub
Subscript child of Node::Scripted
ScriptSup
Superscript child of Node::Scripted
InfixLeft
Left operand of Node::Infix
InfixRight
Right operand of Node::Infix
EnvBody
Body child of Node::Environment
Trait Implementations§
impl Copy for Slot
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.