Enum notedown_ast::command::Command
source · [−]pub enum Command {
Normal(NormalCommand),
Escaped(EscapedCommand),
XML(XMLCommand),
External(ExternalCommand),
}
Expand description
Aka. Macro. It can be understood as a mark that attempts to expand in a given context until the position cannot be expanded
Variants
Normal(NormalCommand)
Command in normal form
Escaped(EscapedCommand)
Command in escape form
XML(XMLCommand)
Command in XML form
External(ExternalCommand)
Command in external form
Implementations
Trait Implementations
sourceimpl IntoASTNode for Command
impl IntoASTNode for Command
sourcefn into_node(self, range: MaybeRanged) -> ASTNode
fn into_node(self, range: MaybeRanged) -> ASTNode
Convert element into
ASTNode
with positionimpl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.