pub enum Element<Var>where
Var: VariableFormat,{
Push(Statement<Var>),
Concat(Statement<Var>),
Literal(String),
Inner(Vec<Element<Var>>),
Nested(Box<Element<Var>>),
Spacing,
}
Variants§
Push(Statement<Var>)
Concat(Statement<Var>)
Literal(String)
Inner(Vec<Element<Var>>)
Nested(Box<Element<Var>>)
Spacing
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Var> Freeze for Element<Var>
impl<Var> RefUnwindSafe for Element<Var>where
Var: RefUnwindSafe,
impl<Var> Send for Element<Var>where
Var: Send,
impl<Var> Sync for Element<Var>where
Var: Sync,
impl<Var> Unpin for Element<Var>where
Var: Unpin,
impl<Var> UnwindSafe for Element<Var>where
Var: UnwindSafe,
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