pub enum Item<'s> {
Text(&'s str),
Key(&'s str),
}Variants§
Trait Implementations§
Source§impl<'s, 'item: 's> AddAssign<&Item<'item>> for Template<'s>
impl<'s, 'item: 's> AddAssign<&Item<'item>> for Template<'s>
Source§fn add_assign(&mut self, item: &Item<'item>)
fn add_assign(&mut self, item: &Item<'item>)
Performs the
+= operation. Read moreSource§impl<'s, 'item: 's> AddAssign<Item<'item>> for Template<'s>
impl<'s, 'item: 's> AddAssign<Item<'item>> for Template<'s>
Source§fn add_assign(&mut self, item: Item<'item>)
fn add_assign(&mut self, item: Item<'item>)
Performs the
+= operation. Read moreimpl<'s> Eq for Item<'s>
impl<'s> StructuralPartialEq for Item<'s>
Auto Trait Implementations§
impl<'s> Freeze for Item<'s>
impl<'s> RefUnwindSafe for Item<'s>
impl<'s> Send for Item<'s>
impl<'s> Sync for Item<'s>
impl<'s> Unpin for Item<'s>
impl<'s> UnwindSafe for Item<'s>
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