pub enum ExpandedTemplate {
Single(SExpr),
Sequence(Vec<SExpr>),
}Expand description
Result of template expansion: either a single expression or a sequence.
Variants§
Trait Implementations§
Source§impl Clone for ExpandedTemplate
impl Clone for ExpandedTemplate
Source§impl Debug for ExpandedTemplate
impl Debug for ExpandedTemplate
impl Eq for ExpandedTemplate
Source§impl PartialEq for ExpandedTemplate
impl PartialEq for ExpandedTemplate
impl StructuralPartialEq for ExpandedTemplate
Auto Trait Implementations§
impl Forget for ExpandedTemplate
impl Freeze for ExpandedTemplate
impl Move for ExpandedTemplate
impl RefUnwindSafe for ExpandedTemplate
impl Send for ExpandedTemplatewhere
RawVecInner: Send,
impl Sync for ExpandedTemplatewhere
RawVecInner: Sync,
impl Unpin for ExpandedTemplate
impl UnsafeUnpin for ExpandedTemplatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
impl UnwindSafe for ExpandedTemplatewhere
RawVecInner: 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