Struct rustc_data_structures::tiny_list::Element
source · struct Element<T> {
data: T,
next: Option<Box<Element<T>>>,
}
Fields§
§data: T
§next: Option<Box<Element<T>>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> DynSend for Element<T>where
T: DynSend,
impl<T> DynSync for Element<T>where
T: DynSync,
impl<T> RefUnwindSafe for Element<T>where
T: RefUnwindSafe,
impl<T> Send for Element<T>where
T: Send,
impl<T> Sync for Element<T>where
T: Sync,
impl<T> Unpin for Element<T>where
T: Unpin,
impl<T> UnwindSafe for Element<T>where
T: 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
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.