# gdk_pixbuf::PixbufAnimation - Rust
API documentation for the Rust `PixbufAnimation` struct in crate `gdk_pixbuf`.
Keywords: rust, rustlang, rust-lang, PixbufAnimation

# Struct gdk_pixbuf::PixbufAnimation [−]

    pub struct PixbufAnimation(_, _);

## Methods

### `impl PixbufAnimation`
[src]

#### `fn new_from_file(file: &str) -> Result<PixbufAnimation, Error>`

#### `fn new_from_resource(resource_path: &str) -> Result<PixbufAnimation, Error>`

## Trait Implementations

### `impl Clone for PixbufAnimation`

#### `fn clone(&self) -> PixbufAnimation`

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0

Performs copy-assignment from `source`. Read more

### `impl Debug for PixbufAnimation`

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl Hash for PixbufAnimation`

#### `fn hash<__H: Hasher>(&self, __arg_0: &mut __H)`

Feeds this value into the given [`Hasher`]. Read more

#### `fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,`
1.3.0

Feeds a slice of this type into the given [`Hasher`]. Read more

### `impl StaticType for PixbufAnimation`

#### `fn static_type() -> Type`

Returns the type identifier of `Self`.

### `impl<T: IsA<Object>> PartialEq<T> for PixbufAnimation`

#### `fn eq(&self, other: &T) -> bool`

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

#### `fn ne(&self, other: &Rhs) -> bool`
1.0.0

This method tests for `!=`.

### `impl Eq for PixbufAnimation`

### `impl IsA<Object> for PixbufAnimation`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  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`)