Struct cfx_storage::utils::wrap::Wrap
source · pub struct Wrap<'a, Wrapped: ?Sized + WrappedTrait<Constrain>, Constrain: ?Sized>(pub <Wrapped as WrappedLifetimeFamily<'a, Constrain>>::Out);
Tuple Fields§
§0: <Wrapped as WrappedLifetimeFamily<'a, Constrain>>::Out
Implementations§
source§impl<'a, Wrapped: ?Sized + WrappedTrait<Constrain>, Constrain: ?Sized> Wrap<'a, Wrapped, Constrain>
impl<'a, Wrapped: ?Sized + WrappedTrait<Constrain>, Constrain: ?Sized> Wrap<'a, Wrapped, Constrain>
pub fn take(self) -> <Wrapped as WrappedLifetimeFamily<'a, Constrain>>::Out
Auto Trait Implementations§
impl<'a, Wrapped: ?Sized, Constrain: ?Sized> RefUnwindSafe for Wrap<'a, Wrapped, Constrain>
impl<'a, Wrapped: ?Sized, Constrain: ?Sized> Send for Wrap<'a, Wrapped, Constrain>
impl<'a, Wrapped: ?Sized, Constrain: ?Sized> Sync for Wrap<'a, Wrapped, Constrain>
impl<'a, Wrapped: ?Sized, Constrain: ?Sized> Unpin for Wrap<'a, Wrapped, Constrain>
impl<'a, Wrapped: ?Sized, Constrain: ?Sized> UnwindSafe for Wrap<'a, Wrapped, Constrain>
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