Enum wayland_commons::wire::Argument[][src]

pub enum Argument {
    Int(i32),
    Uint(u32),
    Fixed(i32),
    Str(CString),
    Object(u32),
    NewId(u32),
    Array(Vec<u8>),
    Fd(RawFd),
}

Enum of possible argument as recognized by the wire, including values

Variants

i32

u32

fixed point, 1/256 precision

CString

id of a wayland object

id of a newly created wayland object

Vec

RawFd

Methods

impl Argument
[src]

Retrieve the type of a given argument isntance

Trait Implementations

impl Clone for Argument
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Argument
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Argument
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Argument

impl Sync for Argument