[−][src]Struct glib::subclass::boxed::Boxed
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]
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]
unsafe fn from_value(value: &'a Value) -> Self
[src]
impl<'a, T: BoxedType> FromValueOptional<'a> for &'a Boxed<T>
[src]
unsafe fn from_value_optional(value: &'a Value) -> Option<Self>
[src]
impl<T: Hash + BoxedType> Hash for Boxed<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
unsafe fn set_value_optional(value: &mut Value, this: Option<&Self>)
[src]
impl<T: BoxedType> StaticType for Boxed<T>
[src]
fn static_type() -> Type
[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,
T: RefUnwindSafe,
impl<T> Send for Boxed<T> where
T: Send,
T: Send,
impl<T> Sync for Boxed<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Boxed<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Boxed<T> where
T: UnwindSafe,
T: 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> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&Self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
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>,