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§
Source§impl Clone for MessageDesc
impl Clone for MessageDesc
Source§fn clone(&self) -> MessageDesc
fn clone(&self) -> MessageDesc
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageDesc
impl Debug for MessageDesc
impl Copy for MessageDesc
Auto Trait Implementations§
impl Freeze for MessageDesc
impl RefUnwindSafe for MessageDesc
impl Send for MessageDesc
impl Sync for MessageDesc
impl Unpin for MessageDesc
impl UnwindSafe for MessageDesc
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