# Enum gdk::GLError [−] [src]

    pub enum GLError {
        NotAvailable,
        UnsupportedFormat,
        UnsupportedProfile,
        // some variants omitted
    }

## Variants

`NotAvailable``UnsupportedFormat``UnsupportedProfile`

## Trait Implementations

### `impl Clone for GLError`
[src]

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

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 Copy for GLError`
[src]

### `impl Debug for GLError`
[src]

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

Formats the value using the given formatter.

### `impl Eq for GLError`
[src]

### `impl PartialEq for GLError`
[src]

#### `fn eq(&self, __arg_0: &GLError) -> bool`

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

#### `fn ne(&self, __arg_0: &GLError) -> bool`

This method tests for `!=`.

### `impl Hash for GLError`
[src]

#### `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 ErrorDomain for GLError`
[src]

#### `fn domain() -> GQuark`

Returns the quark identifying the error domain. Read more

#### `fn code(self) -> i32`

Gets the integer representation of the variant.

#### `fn from(code: i32) -> Option<Self>`

Tries to convert an integer code to an enum variant. Read more

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