[−][src]Struct gdk::Atom
Methods
impl Atom
[src]
pub fn intern(atom_name: &str) -> Atom
[src]
pub fn name(self) -> GString
[src]
pub unsafe fn value(self) -> usize
[src]
Trait Implementations
impl PartialEq<Atom> for Atom
[src]
impl Clone for Atom
[src]
fn clone(&self) -> Atom
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> From<&'a str> for Atom
[src]
impl Eq for Atom
[src]
impl Copy for Atom
[src]
impl FromGlibContainerAsVec<*mut _GdkAtom, *mut *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>
unsafe fn from_glib_full_num_as_vec(ptr: *mut GdkAtom, num: usize) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut _GdkAtom, *mut *mut _GdkAtom> for Atom
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
[src]
impl<'a> ToGlibPtrMut<'a, *mut *mut _GdkAtom> for Atom
[src]
impl<'a> ToGlibPtr<'a, *mut _GdkAtom> for Atom
[src]
type Storage = ()
fn to_glib_none(&self) -> Stash<'a, GdkAtom, Atom>
[src]
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 GlibPtrDefault for Atom
[src]
impl FromGlibPtrNone<*mut _GdkAtom> for Atom
[src]
unsafe fn from_glib_none(ptr: GdkAtom) -> Atom
[src]
impl FromGlibPtrBorrow<*mut _GdkAtom> for Atom
[src]
unsafe fn from_glib_borrow(ptr: GdkAtom) -> Atom
[src]
impl FromGlibPtrFull<*mut _GdkAtom> for Atom
[src]
unsafe fn from_glib_full(_: GdkAtom) -> Atom
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *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<'a> ToGlibContainerFromSlice<'a, *const *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]) -> (*const GdkAtom, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a Atom]
) -> (*const GdkAtom, Self::Storage)
[src]
t: &'a [&'a Atom]
) -> (*const GdkAtom, Self::Storage)
fn to_glib_full_from_slice(_: &[&'a Atom]) -> *const GdkAtom
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)