Struct glib::value::BoxedValue
source · [−]pub struct BoxedValue(pub Value);
Tuple Fields
0: Value
Methods from Deref<Target = Value>
Tries to get a value of type T
.
Returns Ok
if the type is correct.
Tries to get a value of an owned type T
.
Returns true
if the type of the value corresponds to T
or is a sub-type of T
.
Trait Implementations
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
Returns the type identifier of Self
.
Convert an Option
to a Value
.
type Type = BoxedValue
type Type = BoxedValue
Type to get the Type
from. Read more
Auto Trait Implementations
impl RefUnwindSafe for BoxedValue
impl !Send for BoxedValue
impl !Sync for BoxedValue
impl Unpin for BoxedValue
impl UnwindSafe for BoxedValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.