[][src]Struct glib::shared::Shared

pub struct Shared<T, MM: SharedMemoryManager<T>> { /* fields omitted */ }

Encapsulates memory management logic for shared types.

Trait Implementations

impl<'a, T: 'static, MM> ToGlibPtr<'a, *mut T> for Shared<T, MM> where
    MM: SharedMemoryManager<T> + 'static, 
[src]

type Storage = &'a Self

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrNone<*mut T> for Shared<T, MM>[src]

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrNone<*const T> for Shared<T, MM>[src]

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrFull<*mut T> for Shared<T, MM>[src]

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Drop for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Eq for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Clone for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> PartialOrd<Shared<T, MM>> for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> PartialEq<Shared<T, MM>> for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Ord for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Hash for Shared<T, MM>[src]

impl<T, MM: SharedMemoryManager<T>> Debug for Shared<T, MM>[src]

Auto Trait Implementations

impl<T, MM> !Send for Shared<T, MM>

impl<T, MM> Unpin for Shared<T, MM>

impl<T, MM> !Sync for Shared<T, MM>

impl<T, MM> UnwindSafe for Shared<T, MM> where
    MM: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, MM> RefUnwindSafe for Shared<T, MM> where
    MM: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]