pub struct Existential<'lower_bound, C>where
C: TyCon,{ /* private fields */ }Implementations§
Source§impl<'lower_bound, C> Existential<'lower_bound, C>where
C: TyCon,
impl<'lower_bound, C> Existential<'lower_bound, C>where
C: TyCon,
pub fn new<'a: 'lower_bound>( inner: Apply<'a, C>, ) -> Existential<'lower_bound, C>
pub fn with<'s, F, O>(&'s self, f: F) -> O
pub fn with_mut<'s, F, O>(&'s mut self, f: F) -> O
pub fn with_owned<F, O>(self, f: F) -> O
Auto Trait Implementations§
impl<'lower_bound, C> Freeze for Existential<'lower_bound, C>
impl<'lower_bound, C> RefUnwindSafe for Existential<'lower_bound, C>
impl<'lower_bound, C> Send for Existential<'lower_bound, C>
impl<'lower_bound, C> Sync for Existential<'lower_bound, C>
impl<'lower_bound, C> Unpin for Existential<'lower_bound, C>
impl<'lower_bound, C> UnwindSafe for Existential<'lower_bound, C>
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