[][src]Enum rustbus::signature::Base

pub enum Base {
    Byte,
    Int16,
    Uint16,
    Int32,
    Uint32,
    UnixFd,
    Int64,
    Uint64,
    Double,
    String,
    Signature,
    ObjectPath,
    Boolean,
}

Base types that might occur in a signature

Variants

Byte
Int16
Uint16
Int32
Uint32
UnixFd
Int64
Uint64
Double
String
Signature
ObjectPath
Boolean

Implementations

impl Base[src]

pub fn to_str(self, buf: &mut String)[src]

pub fn get_alignment(self) -> usize[src]

Trait Implementations

impl Clone for Base[src]

impl Copy for Base[src]

impl Debug for Base[src]

impl Eq for Base[src]

impl<'a> From<&'_ Base<'a>> for Base[src]

impl PartialEq<Base> for Base[src]

impl StructuralEq for Base[src]

impl StructuralPartialEq for Base[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.