pub struct TwigLiteralName { /* private fields */ }
Implementations§
Source§impl TwigLiteralName
impl TwigLiteralName
pub fn get_name(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for TwigLiteralName
impl AstNode for TwigLiteralName
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 TwigLiteralName
impl Clone for TwigLiteralName
Source§fn clone(&self) -> TwigLiteralName
fn clone(&self) -> TwigLiteralName
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 TwigLiteralName
impl Debug for TwigLiteralName
Source§impl Display for TwigLiteralName
impl Display for TwigLiteralName
Source§impl Hash for TwigLiteralName
impl Hash for TwigLiteralName
Source§impl PartialEq for TwigLiteralName
impl PartialEq for TwigLiteralName
impl Eq for TwigLiteralName
impl StructuralPartialEq for TwigLiteralName
Auto Trait Implementations§
impl Freeze for TwigLiteralName
impl !RefUnwindSafe for TwigLiteralName
impl !Send for TwigLiteralName
impl !Sync for TwigLiteralName
impl Unpin for TwigLiteralName
impl !UnwindSafe for TwigLiteralName
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