[][src]Trait zvariant::Basic

pub trait Basic: Type {
    const SIGNATURE_CHAR: char;
    const SIGNATURE_STR: &'static str;
    const ALIGNMENT: usize;
}

Trait for basic types.

All basic types are also Type implementers.

Associated Constants

const SIGNATURE_CHAR: char

The type signature, as a character.

const SIGNATURE_STR: &'static str

The type signature, as a string.

const ALIGNMENT: usize

The required padding alignment.

Loading content...

Implementations on Foreign Types

impl<B: ?Sized, '_> Basic for &'_ B where
    B: Basic
[src]

impl Basic for u8[src]

impl Basic for i8[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 f32[src]

impl Basic for f64[src]

impl Basic for str[src]

impl Basic for String[src]

impl Basic for char[src]

Loading content...

Implementors

impl Basic for Fd[src]

impl<'a> Basic for ObjectPath<'a>[src]

impl<'a> Basic for Signature<'a>[src]

impl<'a> Basic for Str<'a>[src]

Loading content...