Enum wayland_backend::protocol::ArgumentType [−][src]
pub enum ArgumentType {
Int,
Uint,
Fixed,
Str(AllowNull),
Object(AllowNull),
NewId(AllowNull),
Array(AllowNull),
Fd,
}Expand description
Enum of possible argument types as recognized by the wire
Variants
Int
An integer argument. Represented by a i32.
Uint
An unsigned integer argument. Represented by a u32.
Fixed
A signed fixed point number with 1/256 precision
Str(AllowNull)
Tuple Fields
0: AllowNullA string. This is represented as a CString in a message.
Object(AllowNull)
Tuple Fields
0: AllowNullId of a wayland object
NewId(AllowNull)
Tuple Fields
0: AllowNullId of a newly created wayland object
Array(AllowNull)
Tuple Fields
0: AllowNullVec
Fd
A file descriptor argument. Represented by a RawFd.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ArgumentType
impl Send for ArgumentType
impl Sync for ArgumentType
impl Unpin for ArgumentType
impl UnwindSafe for ArgumentType
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
