Trait glib::variant::StaticVariantType
source · [−]pub trait StaticVariantType {
fn static_variant_type() -> Cow<'static, VariantTy>;
}
Expand description
Returns VariantType
of Self
.
Required methods
fn static_variant_type() -> Cow<'static, VariantTy>
fn static_variant_type() -> Cow<'static, VariantTy>
Returns the VariantType
corresponding to Self
.
Implementations on Foreign Types
sourceimpl<'a, T: ?Sized + StaticVariantType> StaticVariantType for &'a T
impl<'a, T: ?Sized + StaticVariantType> StaticVariantType for &'a T
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for u8
impl StaticVariantType for u8
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for i16
impl StaticVariantType for i16
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for u16
impl StaticVariantType for u16
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for i32
impl StaticVariantType for i32
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for u32
impl StaticVariantType for u32
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for i64
impl StaticVariantType for i64
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for u64
impl StaticVariantType for u64
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for f64
impl StaticVariantType for f64
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for ()
impl StaticVariantType for ()
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for bool
impl StaticVariantType for bool
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for String
impl StaticVariantType for String
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for str
impl StaticVariantType for str
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for PathBuf
impl StaticVariantType for PathBuf
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for Path
impl StaticVariantType for Path
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for OsString
impl StaticVariantType for OsString
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.
fn static_variant_type() -> Cow<'static, VariantTy>
sourceimpl StaticVariantType for OsStr
impl StaticVariantType for OsStr
Portability Warning
This impl is for a platform-specific type. Any variants serialized from this type should be deserialized on the same machine.