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

    pub trait FromGlibPtrContainer<P: Ptr, PP: Ptr>: FromGlibContainer<P, PP> + Sized {
        unsafe fn from_glib_none(ptr: PP) -> Self;
        unsafe fn from_glib_container(ptr: PP) -> Self;
        unsafe fn from_glib_full(ptr: PP) -> Self;
    }

Translate from a container of pointers.

## Required Methods

### `unsafe fn from_glib_none(ptr: PP) -> Self`

Transfer: none.

### `unsafe fn from_glib_container(ptr: PP) -> Self`

Transfer: container.

### `unsafe fn from_glib_full(ptr: PP) -> Self`

Transfer: full.

## Implementations on Foreign Types

### `impl<P: Ptr, PP: Ptr, T: FromGlibPtrArrayContainerAsVec<P, PP>> FromGlibPtrContainer<P, PP> for Vec<T>`
[src]

#### `unsafe fn from_glib_none(ptr: PP) -> Vec<T>`
[src]

#### `unsafe fn from_glib_container(ptr: PP) -> Vec<T>`
[src]

#### `unsafe fn from_glib_full(ptr: PP) -> Vec<T>`
[src]

### `impl FromGlibPtrContainer<*const c_char, *mut GHashTable> for HashMap<String, String>`
[src]

#### `unsafe fn from_glib_none(ptr: *mut GHashTable) -> Self`
[src]

#### `unsafe fn from_glib_container(ptr: *mut GHashTable) -> Self`
[src]

#### `unsafe fn from_glib_full(ptr: *mut GHashTable) -> Self`
[src]

## Implementors

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