pub enum ArgType {
Int,
Uint,
Enum(String),
Fixed,
String {
allow_null: bool,
},
Object {
allow_null: bool,
iface: Option<String>,
},
NewId {
iface: Option<String>,
},
Array,
Fd,
}Expand description
The types of wayland message argumests
Variants§
Int
32-bit signed integer.
Uint
32-bit unsigend integer.
Enum(String)
32-bit integer referencing a value of a given enum.
Fixed
Sigend 24.8 decimal number.
String
Length-prefixed null-terimnated string.
Object
32-bit unsigned integer referring to an object.
NewId
32-bit unsigned integer informing about object creation.
Array
Length-prefixed array.
Fd
A file descriptor in the ancillary data.
Trait Implementations§
impl Eq for ArgType
impl StructuralPartialEq for ArgType
Auto Trait Implementations§
impl Freeze for ArgType
impl RefUnwindSafe for ArgType
impl Send for ArgType
impl Sync for ArgType
impl Unpin for ArgType
impl UnwindSafe for ArgType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more