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

    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`

## 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`.

## 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>`

#### `fn to_glib_none_mut(&'a mut self) -> StashMut<'a, P, Option<&'opt mut T>>`
[src]

## Implementors

- [src]
  `impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM> type Storage = &'a mut Self;`
- [src]
  `impl<'a> ToGlibPtrMut<'a, *mut GValue> for Value type Storage = &'a mut Value;`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)