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]

[src]

Executes the destructor for this type. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

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]

[src]

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

1.3.0
[src]

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]

[src]

Transfer: none. Read more

[src]

Transfer: full. Read more

[src]

Transfer: container. Read more

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

[src]

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

[src]

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

[src]