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