☰
FromGlib
Required Methods
from_glib
Implementations on Foreign Types
Option<T>
Ordering
Result<Option<T>, I>
bool
Implementors
In glib::translate
?
Trait
glib
::
translate
::
FromGlib
source
·
[
−
]
pub trait FromGlib<G:
Copy
>:
Sized
{ unsafe fn
from_glib
(val: G) -> Self; }
Expand description
Translate a simple type.
Required Methods
source
unsafe fn
from_glib
(val: G) -> Self
Implementations on Foreign Types
source
impl
FromGlib
<
i32
> for
bool
source
unsafe fn
from_glib
(val:
gboolean
) -> Self
source
impl
FromGlib
<
i32
> for
Ordering
source
unsafe fn
from_glib
(val:
i32
) -> Self
source
impl<G:
Copy
, T:
TryFromGlib
<G, Error =
GlibNoneError
>>
FromGlib
<G> for
Option
<T>
source
unsafe fn
from_glib
(val: G) -> Self
source
impl<G:
Copy
, I:
Error
, T:
TryFromGlib
<G, Error =
GlibNoneOrInvalidError
<I>>>
FromGlib
<G> for
Result
<
Option
<T>, I>
source
unsafe fn
from_glib
(val: G) -> Self
Implementors
source
impl
FromGlib
<
i64
> for
TimeSpan
source
impl
FromGlib
<
u64
> for
SignalHandlerId
source
impl
FromGlib
<
usize
> for
Type