pub struct Comment<'a> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'a> AstNode<'a> for Comment<'a>
impl<'a> AstNode<'a> for Comment<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> From<Comment<'a>> for CommentNode
impl<'a> From<Comment<'a>> for CommentNode
sourcefn from(ast: Comment<'a>) -> CommentNode
fn from(ast: Comment<'a>) -> CommentNode
Converts to this type from the input type.
impl<'a> Copy for Comment<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Comment<'a>
impl<'a> Send for Comment<'a>
impl<'a> Sync for Comment<'a>
impl<'a> Unpin for Comment<'a>
impl<'a> !UnwindSafe for Comment<'a>
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