[][src]Trait glib::value::FromValue

pub trait FromValue<'a>: FromValueOptional<'a> {
    unsafe fn from_value(_: &'a Value) -> Self;
}

Extracts a value.

Only implemented for types that don't support a None value.

Required methods

unsafe fn from_value(_: &'a Value) -> Self

Safety

The caller is responsible for ensuring the given Value is of a suitable type for this conversion.

Loading content...

Implementations on Foreign Types

impl<'a> FromValue<'a> for Vec<String>[src]

impl<'a> FromValue<'a> for Vec<GString>[src]

impl<'a> FromValue<'a> for bool[src]

impl<'a> FromValue<'a> for i8[src]

impl<'a> FromValue<'a> for u8[src]

impl<'a> FromValue<'a> for i32[src]

impl<'a> FromValue<'a> for u32[src]

impl<'a> FromValue<'a> for i64[src]

impl<'a> FromValue<'a> for u64[src]

impl<'a> FromValue<'a> for f32[src]

impl<'a> FromValue<'a> for f64[src]

Loading content...

Implementors

impl<'a> FromValue<'a> for Type[src]

impl<'a> FromValue<'a> for BindingFlags[src]

impl<'a> FromValue<'a> for IOCondition[src]

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

Loading content...