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

pub struct Boxed<T: BoxedType>(pub T);

Wrapper struct for storing any BoxedType in glib::Value.

Instead of this the glib_boxed_derive_traits! macro can be used to directly implement the relevant traits on the type itself.

Trait Implementations

impl<T: BoxedType> StaticType for Boxed<T>[src]

impl<'a, T: BoxedType> FromValueOptional<'a> for &'a Boxed<T>[src]

impl<'a, T: BoxedType> FromValue<'a> for &'a Boxed<T>[src]

impl<T: BoxedType> SetValueOptional for Boxed<T>[src]

impl<T: BoxedType> SetValue for Boxed<T>[src]

impl<T: Clone + BoxedType> Clone for Boxed<T>[src]

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

Performs copy-assignment from source. Read more

impl<T: Eq + BoxedType> Eq for Boxed<T>[src]

impl<T: PartialEq + BoxedType> PartialEq<Boxed<T>> for Boxed<T>[src]

impl<T: BoxedType> DerefMut for Boxed<T>[src]

impl<T: BoxedType> Deref for Boxed<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Debug + BoxedType> Debug for Boxed<T>[src]

impl<T: Hash + BoxedType> Hash for Boxed<T>[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> Send for Boxed<T> where
    T: Send

impl<T> Sync for Boxed<T> where
    T: Sync

Blanket Implementations

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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