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