Struct gdk::Atom [−][src]
pub struct Atom(_);
Methods
impl Atom[src]
impl Atompub fn intern(atom_name: &str) -> Atom[src]
pub fn intern(atom_name: &str) -> Atompub fn name(self) -> String[src]
pub fn name(self) -> Stringpub unsafe fn value(self) -> usize[src]
pub unsafe fn value(self) -> usizeTrait Implementations
impl Copy for Atom[src]
impl Copy for Atomimpl Clone for Atom[src]
impl Clone for Atomfn clone(&self) -> Atom[src]
fn clone(&self) -> AtomReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Atom[src]
impl PartialEq for Atomfn eq(&self, other: &Atom) -> bool[src]
fn eq(&self, other: &Atom) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Atom) -> bool[src]
fn ne(&self, other: &Atom) -> boolThis method tests for !=.
impl Eq for Atom[src]
impl Eq for Atomimpl GlibPtrDefault for Atom[src]
impl GlibPtrDefault for Atomimpl<'a> ToGlibPtr<'a, GdkAtom> for Atom[src]
impl<'a> ToGlibPtr<'a, GdkAtom> for Atomtype Storage = ()
fn to_glib_none(&self) -> Stash<'a, GdkAtom, Atom>[src]
fn to_glib_none(&self) -> Stash<'a, GdkAtom, Atom>Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>Transfer: container. Read more
fn to_glib_full(&self) -> P[src]
fn to_glib_full(&self) -> PTransfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkAtom> for Atom[src]
impl<'a> ToGlibPtrMut<'a, *mut GdkAtom> for Atomtype Storage = ()
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkAtom, Atom>[src]
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkAtom, Atom>Transfer: none. Read more
impl<'a> ToGlibContainerFromSlice<'a, *mut GdkAtom> for &'a Atom[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut GdkAtom> for &'a Atomtype 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_none_from_slice(t: &'a [&'a Atom]) -> (*mut GdkAtom, Self::Storage)fn to_glib_container_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)fn to_glib_full_from_slice(_: &[&'a Atom]) -> *mut GdkAtom[src]
fn to_glib_full_from_slice(_: &[&'a Atom]) -> *mut GdkAtomimpl FromGlibPtrNone<GdkAtom> for Atom[src]
impl FromGlibPtrNone<GdkAtom> for Atomunsafe fn from_glib_none(ptr: GdkAtom) -> Atom[src]
unsafe fn from_glib_none(ptr: GdkAtom) -> Atomimpl FromGlibPtrFull<GdkAtom> for Atom[src]
impl FromGlibPtrFull<GdkAtom> for Atomunsafe fn from_glib_full(_: GdkAtom) -> Atom[src]
unsafe fn from_glib_full(_: GdkAtom) -> Atomimpl FromGlibContainerAsVec<GdkAtom, *mut GdkAtom> for Atom[src]
impl FromGlibContainerAsVec<GdkAtom, *mut GdkAtom> for Atomunsafe fn from_glib_none_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>[src]
unsafe fn from_glib_none_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>unsafe fn from_glib_container_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>unsafe fn from_glib_full_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>[src]
unsafe fn from_glib_full_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>impl FromGlibPtrArrayContainerAsVec<GdkAtom, *mut GdkAtom> for Atom[src]
impl FromGlibPtrArrayContainerAsVec<GdkAtom, *mut GdkAtom> for Atomunsafe fn from_glib_none_as_vec(ptr: *mut GdkAtom) -> Vec<Self>[src]
unsafe fn from_glib_none_as_vec(ptr: *mut GdkAtom) -> Vec<Self>unsafe fn from_glib_container_as_vec(ptr: *mut GdkAtom) -> Vec<Self>[src]
unsafe fn from_glib_container_as_vec(ptr: *mut GdkAtom) -> Vec<Self>unsafe fn from_glib_full_as_vec(ptr: *mut GdkAtom) -> Vec<Self>[src]
unsafe fn from_glib_full_as_vec(ptr: *mut GdkAtom) -> Vec<Self>impl<'a> From<&'a str> for Atom[src]
impl<'a> From<&'a str> for Atom