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]

Executes the destructor for this type. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

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]

Feeds this value into the given [Hasher]. Read more

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]

Transfer: none. Read more

Transfer: full. Read more

Transfer: container. Read more

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]

Auto Trait Implementations

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

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