[][src]Trait glib::translate::ToGlibPtrMut

pub trait ToGlibPtrMut<'a, P: Copy> {
    type Storage;
    fn to_glib_none_mut(&'a mut self) -> StashMut<'_, P, Self>;
}

Translate to a pointer with a mutable borrow.

Associated Types

type Storage

Loading content...

Required methods

fn to_glib_none_mut(&'a mut self) -> StashMut<'_, P, Self>

Transfer: none.

The pointer in the Stash is only valid for the lifetime of the Stash.

Loading content...

Implementations on Foreign Types

impl<'a, 'opt: 'a, P: Ptr, T: ToGlibPtrMut<'a, P>> ToGlibPtrMut<'a, P> for Option<&'opt mut T>[src]

type Storage = Option<<T as ToGlibPtrMut<'a, P>>::Storage>

Loading content...

Implementors

impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>[src]

type Storage = &'a mut Self

Loading content...