pub struct Liquid<'a> {
pub pieces: ArenaVec<'a, Segment>,
pub span: Span,
}Expand description
A {% … %} / {{ … }} template tag, block-level or inline.
Never interpreted: the whole construct, delimiters included, is kept verbatim.
Fields§
§pieces: ArenaVec<'a, Segment>Verbatim construct, one segment per line (multi-line tags cross container prefixes).
span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Liquid<'a>
impl<'a> !Send for Liquid<'a>
impl<'a> !UnwindSafe for Liquid<'a>
impl<'a> Freeze for Liquid<'a>
impl<'a> Sync for Liquid<'a>
impl<'a> Unpin for Liquid<'a>
impl<'a> UnsafeUnpin for Liquid<'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