pub struct ReservedDirective { /* private fields */ }Expand description
Syntax for %unknown ....
Implementations§
Source§impl ReservedDirective
impl ReservedDirective
pub fn directive_name(&self) -> Option<SyntaxToken>
pub fn directive_param(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for ReservedDirective
impl AstNode for ReservedDirective
type Language = YamlLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for ReservedDirective
impl Clone for ReservedDirective
Source§fn clone(&self) -> ReservedDirective
fn clone(&self) -> ReservedDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReservedDirective
impl Debug for ReservedDirective
impl Eq for ReservedDirective
Source§impl Hash for ReservedDirective
impl Hash for ReservedDirective
Source§impl PartialEq for ReservedDirective
impl PartialEq for ReservedDirective
Source§fn eq(&self, other: &ReservedDirective) -> bool
fn eq(&self, other: &ReservedDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReservedDirective
Auto Trait Implementations§
impl !RefUnwindSafe for ReservedDirective
impl !Send for ReservedDirective
impl !Sync for ReservedDirective
impl !UnwindSafe for ReservedDirective
impl Freeze for ReservedDirective
impl Unpin for ReservedDirective
impl UnsafeUnpin for ReservedDirective
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