# Struct gdk::Atom [−] [src]

    pub struct Atom(_);

## Methods

### `impl Atom`
[src]

#### `fn intern(atom_name: &str) -> Atom`

#### `fn name(&self) -> String`

#### `unsafe fn value(&self) -> usize`

## Trait Implementations

### `impl Copy for Atom`
[src]

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

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

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 PartialEq for Atom`
[src]

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

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

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

This method tests for `!=`.

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

### `impl GlibPtrDefault for Atom`
[src]

#### `type GlibType = GdkAtom`

### `impl<'a> ToGlibPtr<'a, GdkAtom> for Atom`
[src]

#### `type Storage = ()`

#### `fn to_glib_none(&self) -> Stash<'a, GdkAtom, Atom>`

Transfer: none. Read more

#### `fn to_glib_container(&'a self) -> Stash<'a, P, Self>`

Transfer: container. Read more

#### `fn to_glib_full(&self) -> P`

Transfer: full. Read more

### `impl FromGlibPtrNone<GdkAtom> for Atom`
[src]

#### `unsafe fn from_glib_none(ptr: GdkAtom) -> Atom`

### `impl FromGlibPtrFull<GdkAtom> for Atom`
[src]

#### `unsafe fn from_glib_full(_: GdkAtom) -> Atom`

### `impl<'a> From<&'a str> for Atom`
[src]

#### `fn from(r: &'a str) -> Atom`

Performs the conversion.

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