[][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 GBoxed! derive macro can be used to directly implement the relevant traits on the type itself.

Trait Implementations

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

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

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

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.