[][src]Trait zvariant::Basic

pub trait Basic: Hash + Eq { }

Marker trait for basic types.

All basic types are also SimpleDecode implementers but not necessarily the other way around (e.g Variant). Also a basic type, f64 is excluded here even though it's a basic D-Bus type. The reason is that f64 doesn't implement Hash for good reasons and given that we mainly need this marker train for DictEntry (i-e Hashmaps), it's more important to require Hash from implementers of this type than to implement this for f64.

Implementations on Foreign Types

impl Basic for u8[src]

impl Basic for bool[src]

impl Basic for i16[src]

impl Basic for u16[src]

impl Basic for i32[src]

impl Basic for u32[src]

impl Basic for i64[src]

impl Basic for u64[src]

impl<'_> Basic for &'_ str[src]

impl Basic for String[src]

Loading content...

Implementors

impl Basic for ObjectPath[src]

impl Basic for Signature[src]

Loading content...