pub struct Atom(_);
Implementations
Trait Implementations
sourceimpl FromGlibPtrArrayContainerAsVec<*mut _GdkAtom, *mut *mut _GdkAtom> for Atom
impl FromGlibPtrArrayContainerAsVec<*mut _GdkAtom, *mut *mut _GdkAtom> for Atom
unsafe fn from_glib_none_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
unsafe fn from_glib_container_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut GdkAtom) -> Vec<Self>
sourceimpl FromGlibPtrBorrow<*mut _GdkAtom> for Atom
impl FromGlibPtrBorrow<*mut _GdkAtom> for Atom
sourceimpl FromGlibPtrFull<*mut _GdkAtom> for Atom
impl FromGlibPtrFull<*mut _GdkAtom> for Atom
sourceunsafe fn from_glib_full(_: GdkAtom) -> Atom
unsafe fn from_glib_full(_: GdkAtom) -> Atom
Safety Read more
sourceimpl FromGlibPtrNone<*mut _GdkAtom> for Atom
impl FromGlibPtrNone<*mut _GdkAtom> for Atom
sourceunsafe fn from_glib_none(ptr: GdkAtom) -> Atom
unsafe fn from_glib_none(ptr: GdkAtom) -> Atom
Safety Read more
sourceimpl GlibPtrDefault for Atom
impl GlibPtrDefault for Atom
sourceimpl<'a> ToGlibContainerFromSlice<'a, *const *mut _GdkAtom> for Atom
impl<'a> ToGlibContainerFromSlice<'a, *const *mut _GdkAtom> for Atom
type Storage = (Vec<Stash<'a, GdkAtom, Atom>>, Option<Vec<GdkAtom>>)
fn to_glib_none_from_slice(t: &'a [Atom]) -> (*const GdkAtom, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Atom]
) -> (*const GdkAtom, Self::Storage)
fn to_glib_full_from_slice(_: &[Atom]) -> *const GdkAtom
sourceimpl<'a> ToGlibPtr<'a, *mut _GdkAtom> for Atom
impl<'a> ToGlibPtr<'a, *mut _GdkAtom> for Atom
type Storage = ()
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourcefn to_glib_full(&self) -> P
fn to_glib_full(&self) -> P
Transfer: full. Read more
impl Copy for Atom
impl Eq for Atom
impl StructuralEq for Atom
impl StructuralPartialEq for Atom
Auto Trait Implementations
impl RefUnwindSafe for Atom
impl !Send for Atom
impl !Sync for Atom
impl Unpin for Atom
impl UnwindSafe for Atom
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more