pub enum Expanded<T, B> {
Null,
Object(IndexedObject<T, B>),
Array(Vec<IndexedObject<T, B>>),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<T, B> From<Indexed<Object<T, B>>> for Expanded<T, B>
impl<T, B> From<Indexed<Object<T, B>>> for Expanded<T, B>
Source§fn from(obj: IndexedObject<T, B>) -> Expanded<T, B>
fn from(obj: IndexedObject<T, B>) -> Expanded<T, B>
Converts to this type from the input type.
Source§impl<'a, T, B> IntoIterator for &'a Expanded<T, B>
impl<'a, T, B> IntoIterator for &'a Expanded<T, B>
Source§impl<T, B> IntoIterator for Expanded<T, B>
impl<T, B> IntoIterator for Expanded<T, B>
Auto Trait Implementations§
impl<T, B> Freeze for Expanded<T, B>where
T: Freeze,
impl<T, B> RefUnwindSafe for Expanded<T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
impl<T, B> Send for Expanded<T, B>
impl<T, B> Sync for Expanded<T, B>
impl<T, B> Unpin for Expanded<T, B>where
T: Unpin,
impl<T, B> UnwindSafe for Expanded<T, B>where
T: UnwindSafe,
B: 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