Struct gdk::Atom
[−]
[src]
pub struct Atom(_);
Methods
impl Atom
[src]
pub fn intern(atom_name: &str) -> Atom
[src]
pub fn name(&self) -> String
[src]
pub unsafe fn value(&self) -> usize
[src]
Trait Implementations
impl Copy for Atom
[src]
impl Clone for Atom
[src]
fn clone(&self) -> Atom
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Atom
[src]
fn eq(&self, __arg_0: &Atom) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Atom) -> bool
[src]
This method tests for !=
.
impl Eq for Atom
[src]
impl GlibPtrDefault for Atom
[src]
impl<'a> ToGlibPtr<'a, GdkAtom> for Atom
[src]
type Storage = ()
fn to_glib_none(&self) -> Stash<'a, GdkAtom, Atom>
[src]
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
fn to_glib_full(&self) -> P
[src]
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkAtom> for Atom
[src]
type Storage = ()
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkAtom, Atom>
[src]
Transfer: none. Read more
impl<'a> ToGlibContainerFromSlice<'a, *mut GdkAtom> for &'a Atom
[src]
type Storage = (Vec<Stash<'a, GdkAtom, &'a Atom>>, Option<Vec<GdkAtom>>)
fn to_glib_none_from_slice(t: &'a [&'a Atom]) -> (*mut GdkAtom, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a Atom]
) -> (*mut GdkAtom, Self::Storage)
[src]
t: &'a [&'a Atom]
) -> (*mut GdkAtom, Self::Storage)
fn to_glib_full_from_slice(_: &[&'a Atom]) -> *mut GdkAtom
[src]
impl FromGlibPtrNone<GdkAtom> for Atom
[src]
unsafe fn from_glib_none(ptr: GdkAtom) -> Atom
[src]
impl FromGlibPtrFull<GdkAtom> for Atom
[src]
unsafe fn from_glib_full(_: GdkAtom) -> Atom
[src]
impl FromGlibContainerAsVec<GdkAtom, *mut GdkAtom> for Atom
[src]
unsafe fn from_glib_none_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>
[src]
unsafe fn from_glib_container_num_as_vec(
ptr: *mut GdkAtom,
num: usize
) -> Vec<Self>
[src]
ptr: *mut GdkAtom,
num: usize
) -> Vec<Self>