pub(crate) enum OwnedFormatItem {
Literal(Box<[u8]>),
Component(Component),
Compound(Box<[Self]>),
Optional(Box<Self>),
First(Box<[Self]>),
}
Variants§
Literal(Box<[u8]>)
Component(Component)
Compound(Box<[Self]>)
Optional(Box<Self>)
First(Box<[Self]>)
Trait Implementations§
source§impl From<Item<'_>> for OwnedFormatItem
impl From<Item<'_>> for OwnedFormatItem
source§impl ToTokenStream for OwnedFormatItem
impl ToTokenStream for OwnedFormatItem
fn append_to(self, ts: &mut TokenStream)
Auto Trait Implementations§
impl Freeze for OwnedFormatItem
impl RefUnwindSafe for OwnedFormatItem
impl Send for OwnedFormatItem
impl Sync for OwnedFormatItem
impl Unpin for OwnedFormatItem
impl UnwindSafe for OwnedFormatItem
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