#[repr(transparent)]pub struct CommandDefinition(_);
Implementations
sourceimpl CommandDefinition
impl CommandDefinition
pub fn command(&self) -> Option<SyntaxToken>
pub fn name(&self) -> Option<CurlyGroupCommand>
pub fn implementation(&self) -> Option<CurlyGroup>
Trait Implementations
sourceimpl AstNode for CommandDefinition
impl AstNode for CommandDefinition
type Language = LatexLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self> where
Self: Sized,
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Self
fn clone_subtree(&self) -> Self
sourceimpl Clone for CommandDefinition
impl Clone for CommandDefinition
sourcefn clone(&self) -> CommandDefinition
fn clone(&self) -> CommandDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CommandDefinition
impl !Send for CommandDefinition
impl !Sync for CommandDefinition
impl Unpin for CommandDefinition
impl !UnwindSafe for CommandDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more