[−][src]Struct glib::boxed::Boxed
Encapsulates memory management logic for boxed types.
Trait Implementations
impl<T: 'static, MM: BoxedMemoryManager<T>> Clone for Boxed<T, MM>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Debug for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Deref for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> DerefMut for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Drop for Boxed<T, MM>
[src]
impl<T, MM: BoxedMemoryManager<T>> Eq for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_borrow(ptr: *mut T) -> Self
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*const T> for Boxed<T, MM>
[src]
unsafe fn from_glib_full(ptr: *const T) -> Self
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrFull<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_full(ptr: *mut T) -> Self
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*const T> for Boxed<T, MM>
[src]
unsafe fn from_glib_none(ptr: *const T) -> Self
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>
[src]
unsafe fn from_glib_none(ptr: *mut T) -> Self
[src]
impl<T, MM: BoxedMemoryManager<T>> Hash for Boxed<T, MM>
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T, MM: BoxedMemoryManager<T>> Ord for Boxed<T, MM>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T, MM: BoxedMemoryManager<T>> PartialEq<Boxed<T, MM>> for Boxed<T, MM>
[src]
impl<T, MM: BoxedMemoryManager<T>> PartialOrd<Boxed<T, MM>> for Boxed<T, MM>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
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>
[src]
fn to_glib_full(&self) -> *const T
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>
[src]
impl<T: 'static, MM: BoxedMemoryManager<T>> Uninitialized for Boxed<T, MM>
[src]
unsafe fn uninitialized() -> Self
[src]
Auto Trait Implementations
impl<T, MM> RefUnwindSafe for Boxed<T, MM> where
MM: RefUnwindSafe,
T: RefUnwindSafe,
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> where
MM: Unpin,
MM: Unpin,
impl<T, MM> UnwindSafe for Boxed<T, MM> where
MM: UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
MM: UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,