[][src]Struct user_stable_vtable::refs::StableMut

#[repr(C)]pub struct StableMut<'a, Trait: StableVTableTrait + ?Sized> { /* fields omitted */ }

Safety: Must satisfy all the rules of &dyn Trait, in addition to the rules for references defined by rfc 2955 Note: Here the vtable has to satisfy 'a. It is not yet specified the lifetime a vtable has to satisfy.

Trait Implementations

impl<'_, Trait: StableVTableTrait + StablePointerCast<StablePtr<Trait>> + ?Sized> Deref for StableMut<'_, Trait>[src]

type Target = Trait

The resulting type after dereferencing.

impl<'_, Trait: StableVTableTrait + StablePointerCast<StablePtr<Trait>> + ?Sized> DerefMut for StableMut<'_, Trait>[src]

impl<'a, 'b: 'a, Trait: StableVTableTrait + ?Sized> From<StableMut<'b, Trait>> for StableRef<'a, Trait>[src]

impl<'a, Trait: StableVTableTrait + ?Sized> StableMutable<'a, Trait> for StableMut<'a, Trait>[src]

impl<'a, Trait: StableVTableTrait + ?Sized> StableReference<'a, Trait> for StableMut<'a, Trait>[src]

type Pointer = StablePtr<Trait>

Auto Trait Implementations

impl<'a, Trait> !Send for StableMut<'a, Trait>

impl<'a, Trait> !Sync for StableMut<'a, Trait>

impl<'a, Trait: ?Sized> Unpin for StableMut<'a, Trait>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.