#[repr(transparent)]pub struct MetaItem<T>(pub T);Expand description
A MetaTuple containing a single item.
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl<T> BorrowMut<T> for MetaItem<T>
impl<T> BorrowMut<T> for MetaItem<T>
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'t, T> IntoIterator for &'t MetaItem<T>where
&'t T: IntoIterator,
impl<'t, T> IntoIterator for &'t MetaItem<T>where
&'t T: IntoIterator,
Source§impl<T: IntoIterator> IntoIterator for MetaItem<T>
impl<T: IntoIterator> IntoIterator for MetaItem<T>
Source§impl<T: 'static> MetaBox for MetaItem<T>
impl<T: 'static> MetaBox for MetaItem<T>
fn as_erased<'t>(&self) -> ErasedInner<'_>
fn as_erased_mut(&mut self) -> ErasedInnerMut<'_>
Source§impl<T: 'static> MetaTuple for MetaItem<T>
impl<T: 'static> MetaTuple for MetaItem<T>
Source§fn join<T: 'static>(self, other: T) -> Join<Self, MetaItem<T>>where
Self: Sized,
fn join<T: 'static>(self, other: T) -> Join<Self, MetaItem<T>>where
Self: Sized,
Join with another concrete value.
Source§fn join_ref<T: 'static>(self, other: &T) -> Join<Self, &MetaItem<T>>where
Self: Sized,
fn join_ref<T: 'static>(self, other: &T) -> Join<Self, &MetaItem<T>>where
Self: Sized,
Join with a reference to a concrete value. Read more
Source§impl<T: Ord> Ord for MetaItem<T>
impl<T: Ord> Ord for MetaItem<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for MetaItem<T>
impl<T: PartialOrd> PartialOrd for MetaItem<T>
impl<T: Copy> Copy for MetaItem<T>
impl<T: Eq> Eq for MetaItem<T>
impl<T> StructuralPartialEq for MetaItem<T>
Auto Trait Implementations§
impl<T> Freeze for MetaItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for MetaItem<T>where
T: RefUnwindSafe,
impl<T> Send for MetaItem<T>where
T: Send,
impl<T> Sync for MetaItem<T>where
T: Sync,
impl<T> Unpin for MetaItem<T>where
T: Unpin,
impl<T> UnwindSafe for MetaItem<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