Enum liquid_core::parser::BlockElement
source · pub enum BlockElement<'a> {
Raw(Raw<'a>),
Tag(Tag<'a>),
Expression(Exp<'a>),
Invalid(InvalidLiquidToken<'a>),
}
Expand description
An element that can be raw text, a tag, or an expression.
This is the result of calling next()
on a TagBlock
.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BlockElement<'a>
impl<'a> !Send for BlockElement<'a>
impl<'a> !Sync for BlockElement<'a>
impl<'a> Unpin for BlockElement<'a>
impl<'a> !UnwindSafe for BlockElement<'a>
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