Enum wayland_commons::wire::ArgumentType
source · [−]pub enum ArgumentType {
Int,
Uint,
Fixed,
Str,
Object,
NewId,
Array,
Fd,
}
Expand description
Enum of possible argument types as recognized by the wire
Variants
Int
i32
Uint
u32
Fixed
fixed point, 1/256 precision
Str
CString
Object
id of a wayland object
NewId
id of a newly created wayland object
Array
Vec
Fd
RawFd
Trait Implementations
sourceimpl Clone for ArgumentType
impl Clone for ArgumentType
sourcefn clone(&self) -> ArgumentType
fn clone(&self) -> ArgumentType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ArgumentType
impl Debug for ArgumentType
sourceimpl PartialEq<ArgumentType> for ArgumentType
impl PartialEq<ArgumentType> for ArgumentType
sourcefn eq(&self, other: &ArgumentType) -> bool
fn eq(&self, other: &ArgumentType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for ArgumentType
impl StructuralPartialEq for ArgumentType
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more