pub struct TagDirective { /* private fields */ }Expand description
Syntax for %TAG ! tag:yaml.org,2002:.
Implementations§
Source§impl TagDirective
impl TagDirective
pub fn directive_name(&self) -> Option<SyntaxToken>
pub fn tag_handle(&self) -> Option<TagHandle>
pub fn tag_prefix(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for TagDirective
impl AstNode for TagDirective
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 TagDirective
impl Clone for TagDirective
Source§fn clone(&self) -> TagDirective
fn clone(&self) -> TagDirective
Returns a duplicate of the value. Read more
1.0.0 · 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 TagDirective
impl Debug for TagDirective
Source§impl Hash for TagDirective
impl Hash for TagDirective
Source§impl PartialEq for TagDirective
impl PartialEq for TagDirective
impl Eq for TagDirective
impl StructuralPartialEq for TagDirective
Auto Trait Implementations§
impl Freeze for TagDirective
impl !RefUnwindSafe for TagDirective
impl !Send for TagDirective
impl !Sync for TagDirective
impl Unpin for TagDirective
impl !UnwindSafe for TagDirective
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