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