Enum wayland_client::Argument [−][src]
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
Object(Option<Proxy<AnonymousObject>>)
id of a wayland object
NewId(Option<Main<AnonymousObject>>)
id of a newly created wayland object
Vec
Fd(RawFd)
RawFd
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,