Skip to main content

ToGValue

Trait ToGValue 

Source
pub trait ToGValue: Send + Sync {
    // Required method
    fn to_gvalue(&self) -> GValue;
}

Required Methods§

Source

fn to_gvalue(&self) -> GValue

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToGValue for &str

Source§

impl ToGValue for DateTime<Utc>

Source§

impl ToGValue for String

Source§

impl ToGValue for Uuid

Source§

impl ToGValue for Vec<GValue>

Source§

impl ToGValue for bool

Source§

impl ToGValue for f32

Source§

impl ToGValue for f64

Source§

impl ToGValue for i32

Source§

impl ToGValue for i64

Implementors§