Struct glib::shared::Shared
[−]
[src]
pub struct Shared<T, MM: SharedMemoryManager<T>> { /* fields omitted */ }
Encapsulates memory management logic for shared types.
Trait Implementations
impl<T, MM: SharedMemoryManager<T>> Drop for Shared<T, MM>
[src]
impl<T, MM: SharedMemoryManager<T>> Clone for Shared<T, MM>
[src]
fn clone(&self) -> Self
[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<T, MM: SharedMemoryManager<T>> Debug for Shared<T, MM>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T, MM: SharedMemoryManager<T>> PartialEq for Shared<T, MM>
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T, MM: SharedMemoryManager<T>> Eq for Shared<T, MM>
[src]
impl<T, MM: SharedMemoryManager<T>> Hash for Shared<T, MM>
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a, T: 'static, MM> ToGlibPtr<'a, *mut T> for Shared<T, MM> where
MM: SharedMemoryManager<T> + 'static,
[src]
MM: SharedMemoryManager<T> + 'static,
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut T, Self>
[src]
Transfer: none. Read more
fn to_glib_full(&self) -> *mut T
[src]
Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more