pub struct TwigComment { /* private fields */ }
Trait Implementations§
Source§impl AstNode for TwigComment
impl AstNode for TwigComment
type Language = TemplateLanguage
fn can_cast(kind: <Self::Language as Language>::Kind) -> boolwhere
Self: Sized,
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>where
Self: Sized,
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for TwigComment
impl Clone for TwigComment
Source§fn clone(&self) -> TwigComment
fn clone(&self) -> TwigComment
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 TwigComment
impl Debug for TwigComment
Source§impl Display for TwigComment
impl Display for TwigComment
Source§impl Hash for TwigComment
impl Hash for TwigComment
Source§impl PartialEq for TwigComment
impl PartialEq for TwigComment
impl Eq for TwigComment
impl StructuralPartialEq for TwigComment
Auto Trait Implementations§
impl Freeze for TwigComment
impl !RefUnwindSafe for TwigComment
impl !Send for TwigComment
impl !Sync for TwigComment
impl Unpin for TwigComment
impl !UnwindSafe for TwigComment
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