[][src]Enum wayland_client::Argument

pub enum Argument {
    Int(i32),
    Uint(u32),
    Float(f32),
    Str(Option<String>),
    Object(Option<Proxy<AnonymousObject>>),
    NewId(Option<Main<AnonymousObject>>),
    Array(Option<Vec<u8>>),
    Fd(RawFd),
}

Enum of possible argument in an event

Variants

Int(i32)

i32

Uint(u32)

u32

Float(f32)

float

CString

id of a wayland object

id of a newly created wayland object

Array(Option<Vec<u8>>)

Vec

Fd(RawFd)

RawFd

Trait Implementations

impl Debug for Argument[src]

Auto Trait Implementations

impl !RefUnwindSafe for Argument

impl !Send for Argument

impl !Sync for Argument

impl Unpin for Argument

impl !UnwindSafe for Argument

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

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

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.