[][src]Struct glib::boxed::Boxed

pub struct Boxed<T: 'static, MM: BoxedMemoryManager<T>> { /* fields omitted */ }

Encapsulates memory management logic for boxed types.

Trait Implementations

impl<T: 'static, MM: BoxedMemoryManager<T>> Uninitialized for Boxed<T, MM>[src]

impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtr<'a, *const T> for Boxed<T, MM>[src]

type Storage = &'a Self

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl<'a, T: 'static, MM: BoxedMemoryManager<T>> ToGlibPtrMut<'a, *mut T> for Boxed<T, MM>[src]

type Storage = &'a mut Self

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

impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*const T> for Boxed<T, MM>[src]

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

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

impl<T, MM: BoxedMemoryManager<T>> PartialEq<Boxed<T, MM>> for Boxed<T, MM>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: 'static, MM: BoxedMemoryManager<T>> Clone for Boxed<T, MM>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T, MM: BoxedMemoryManager<T>> PartialOrd<Boxed<T, MM>> for Boxed<T, MM>[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T, MM: BoxedMemoryManager<T>> Eq for Boxed<T, MM>[src]

impl<T, MM: BoxedMemoryManager<T>> Ord for Boxed<T, MM>[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl<T: 'static, MM: BoxedMemoryManager<T>> Drop for Boxed<T, MM>[src]

impl<T: 'static, MM: BoxedMemoryManager<T>> DerefMut for Boxed<T, MM>[src]

impl<T: 'static, MM: BoxedMemoryManager<T>> Deref for Boxed<T, MM>[src]

type Target = T

The resulting type after dereferencing.

impl<T: 'static, MM: BoxedMemoryManager<T>> Debug for Boxed<T, MM>[src]

impl<T, MM: BoxedMemoryManager<T>> Hash for Boxed<T, MM>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<T, MM> Unpin for Boxed<T, MM> where
    MM: Unpin,
    T: Unpin

impl<T, MM> !Sync for Boxed<T, MM>

impl<T, MM> !Send for Boxed<T, MM>

impl<T, MM> RefUnwindSafe for Boxed<T, MM> where
    MM: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, MM> UnwindSafe for Boxed<T, MM> where
    MM: UnwindSafe,
    T: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]