Struct wayland_commons::wire::MessageDesc
source · [−]pub struct MessageDesc {
pub name: &'static str,
pub signature: &'static [ArgumentType],
pub since: u32,
pub destructor: bool,
}
Expand description
Wire metadata of a given message
Fields
name: &'static str
Name of this message
signature: &'static [ArgumentType]
Signature of the message
since: u32
Minimum required version of the interface
destructor: bool
Whether this message is a destructor
Trait Implementations
sourceimpl Clone for MessageDesc
impl Clone for MessageDesc
sourcefn clone(&self) -> MessageDesc
fn clone(&self) -> MessageDesc
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 MessageDesc
impl Debug for MessageDesc
impl Copy for MessageDesc
Auto Trait Implementations
impl RefUnwindSafe for MessageDesc
impl Send for MessageDesc
impl Sync for MessageDesc
impl Unpin for MessageDesc
impl UnwindSafe for MessageDesc
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