[][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

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

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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