pub struct Boxed<T: 'static, MM: BoxedMemoryManager<T>> { /* private fields */ }
Expand description
Encapsulates memory management logic for boxed types.
Trait Implementations§
source§impl<T: 'static, MM: BoxedMemoryManager<T>> Clone for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> Clone for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> Debug for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> Debug for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> Deref for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> Deref for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> DerefMut for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> DerefMut for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> Drop for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> Drop for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Boxed<T, MM>
source§impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*const T> for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*const T> for Boxed<T, MM>
source§unsafe fn from_glib_full(ptr: *const T) -> Self
unsafe fn from_glib_full(ptr: *const T) -> Self
Safety Read more
source§impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*mut T> for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*mut T> for Boxed<T, MM>
source§unsafe fn from_glib_full(ptr: *mut T) -> Self
unsafe fn from_glib_full(ptr: *mut T) -> Self
Safety Read more
source§impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*const T> for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*const T> for Boxed<T, MM>
source§unsafe fn from_glib_none(ptr: *const T) -> Self
unsafe fn from_glib_none(ptr: *const T) -> Self
Safety Read more
source§impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>
source§unsafe fn from_glib_none(ptr: *mut T) -> Self
unsafe fn from_glib_none(ptr: *mut T) -> Self
Safety Read more
source§impl<T, MM: BoxedMemoryManager<T>> Hash for Boxed<T, MM>
impl<T, MM: BoxedMemoryManager<T>> Hash for Boxed<T, MM>
source§impl<T, MM: BoxedMemoryManager<T>> Ord for Boxed<T, MM>
impl<T, MM: BoxedMemoryManager<T>> Ord for Boxed<T, MM>
source§impl<T, MM: BoxedMemoryManager<T>> PartialEq for Boxed<T, MM>
impl<T, MM: BoxedMemoryManager<T>> PartialEq for Boxed<T, MM>
source§impl<T, MM: BoxedMemoryManager<T>> PartialOrd for Boxed<T, MM>
impl<T, MM: BoxedMemoryManager<T>> PartialOrd for Boxed<T, MM>
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 moresource§impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtr<'a, *const T> for Boxed<T, MM>
impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtr<'a, *const T> for Boxed<T, MM>
type Storage = PhantomData<&'a Boxed<T, MM>>
source§fn to_glib_full(&self) -> *const T
fn to_glib_full(&self) -> *const T
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>
impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>
type Storage = PhantomData<&'a mut Boxed<T, MM>>
impl<T, MM: BoxedMemoryManager<T>> Eq for Boxed<T, MM>
Auto Trait Implementations§
impl<T, MM> RefUnwindSafe for Boxed<T, MM>where
MM: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, MM> !Send for Boxed<T, MM>
impl<T, MM> !Sync for Boxed<T, MM>
impl<T, MM> Unpin for Boxed<T, MM>
impl<T, MM> UnwindSafe for Boxed<T, MM>where
MM: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more