Struct gdk::Atom [−][src]
pub struct Atom(_);
Methods
impl Atom
[src]
impl Atom
pub fn intern(atom_name: &str) -> Atom
[src]
pub fn intern(atom_name: &str) -> Atom
pub fn name(self) -> String
[src]
pub fn name(self) -> String
pub unsafe fn value(self) -> usize
[src]
pub unsafe fn value(self) -> usize
Trait Implementations
impl Copy for Atom
[src]
impl Copy for Atom
impl Clone for Atom
[src]
impl Clone for Atom
fn clone(&self) -> Atom
[src]
fn clone(&self) -> Atom
Returns 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 Atom
fn eq(&self, other: &Atom) -> bool
[src]
fn eq(&self, other: &Atom) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Atom
[src]
impl Eq for Atom
impl GlibPtrDefault for Atom
[src]
impl GlibPtrDefault for Atom
impl<'a> ToGlibPtr<'a, GdkAtom> for Atom
[src]
impl<'a> ToGlibPtr<'a, GdkAtom> for Atom
type 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) -> P
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkAtom> for Atom
[src]
impl<'a> ToGlibPtrMut<'a, *mut GdkAtom> for Atom
type 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 Atom
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_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 GdkAtom
impl FromGlibPtrNone<GdkAtom> for Atom
[src]
impl FromGlibPtrNone<GdkAtom> for Atom
unsafe fn from_glib_none(ptr: GdkAtom) -> Atom
[src]
unsafe fn from_glib_none(ptr: GdkAtom) -> Atom
impl FromGlibPtrFull<GdkAtom> for Atom
[src]
impl FromGlibPtrFull<GdkAtom> for Atom
unsafe fn from_glib_full(_: GdkAtom) -> Atom
[src]
unsafe fn from_glib_full(_: GdkAtom) -> Atom
impl FromGlibContainerAsVec<GdkAtom, *mut GdkAtom> for Atom
[src]
impl FromGlibContainerAsVec<GdkAtom, *mut GdkAtom> for Atom
unsafe 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 Atom
unsafe 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