pub struct SomeNiche<T>(/* private fields */);Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SomeNiche<T>where
T: Freeze,
impl<T> RefUnwindSafe for SomeNiche<T>where
T: RefUnwindSafe,
impl<T> Send for SomeNiche<T>where
T: Send,
impl<T> Sync for SomeNiche<T>where
T: Sync,
impl<T> Unpin for SomeNiche<T>where
T: Unpin,
impl<T> UnwindSafe for SomeNiche<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
fn any_ref(&self) -> &(dyn Any + 'static)where
T: 'static,
fn any_mut(&mut self) -> &mut (dyn Any + 'static)where
T: 'static,
fn any_box(self: Box<T>) -> Box<dyn Any>where
T: 'static,
fn any_arc(self: Arc<T>) -> Arc<dyn Any>where
T: 'static,
fn any_arc_sync(self: Arc<T>) -> Arc<dyn Any + Sync + Send>
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