Trait glib::value::FromValue [−][src]
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
Implementations on Foreign Types
impl<'a> FromValue<'a> for Vec<String>
[src]
impl<'a> FromValue<'a> for Vec<String>
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for bool
[src]
impl<'a> FromValue<'a> for bool
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for i8
[src]
impl<'a> FromValue<'a> for i8
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for u8
[src]
impl<'a> FromValue<'a> for u8
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for i32
[src]
impl<'a> FromValue<'a> for i32
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for u32
[src]
impl<'a> FromValue<'a> for u32
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for i64
[src]
impl<'a> FromValue<'a> for i64
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for u64
[src]
impl<'a> FromValue<'a> for u64
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for f32
[src]
impl<'a> FromValue<'a> for f32
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
impl<'a> FromValue<'a> for f64
[src]
impl<'a> FromValue<'a> for f64
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
Implementors
impl<'a> FromValue<'a> for IOCondition
impl<'a> FromValue<'a> for BindingFlags
impl<'a> FromValue<'a> for Type