pub enum Flat<T> {
None,
One(AId<T>),
Two(AId<T>, AId<T>),
Slice(ASlice<T>),
}Variants§
Implementations§
Source§impl<T: AllocatorType> Flat<T>
impl<T: AllocatorType> Flat<T>
pub fn to_vec(self, allocator: &HtmlAllocator) -> Result<AVec<'_, T>>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Flat<T>
impl<T> RefUnwindSafe for Flat<T>
impl<T> Send for Flat<T>
impl<T> Sync for Flat<T>
impl<T> Unpin for Flat<T>
impl<T> UnwindSafe for Flat<T>
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