pub struct Shared<T, MM>where
MM: SharedMemoryManager<T>,{ /* private fields */ }
Expand description
Encapsulates memory management logic for shared types.
Trait Implementations§
§unsafe fn from_glib_full(ptr: *mut T) -> Shared<T, MM>
unsafe fn from_glib_full(ptr: *mut T) -> Shared<T, MM>
Safety Read more
§unsafe fn from_glib_none(ptr: *const T) -> Shared<T, MM>
unsafe fn from_glib_none(ptr: *const T) -> Shared<T, MM>
Safety Read more
§unsafe fn from_glib_none(ptr: *mut T) -> Shared<T, MM>
unsafe fn from_glib_none(ptr: *mut T) -> Shared<T, MM>
Safety Read more
§fn partial_cmp(&self, other: &Shared<T, MM>) -> Option<Ordering>
fn partial_cmp(&self, other: &Shared<T, MM>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreAuto Trait Implementations§
Blanket Implementations§
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.