Struct glib::boxed::Boxed
[−]
[src]
pub struct Boxed<T: 'static, MM: BoxedMemoryManager<T>> { /* fields omitted */ }
Encapsulates memory management logic for boxed types.
Methods
impl<T: 'static, MM: BoxedMemoryManager<T>> Boxed<T, MM>
[src]
unsafe fn uninitialized() -> Self
Trait Implementations
impl<T: 'static, MM: BoxedMemoryManager<T>> Uninitialized for Boxed<T, MM>
[src]
unsafe fn uninitialized() -> Self
Returns an uninitialized value.
impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtr<'a, *const T> for Boxed<T, MM>
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const T, Self>
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
fn to_glib_full(&self) -> P
Transfer: full. Read more
impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut T, Self>
Transfer: none. Read more
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_none(ptr: *mut T) -> Self
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_full(ptr: *mut T) -> Self
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_borrow(ptr: *mut T) -> Self
impl<T: 'static, MM: BoxedMemoryManager<T>> Drop for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Debug for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Clone for Boxed<T, MM>
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: 'static, MM: BoxedMemoryManager<T>> Deref for Boxed<T, MM>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<T: 'static, MM: BoxedMemoryManager<T>> DerefMut for Boxed<T, MM>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value