pub struct Message<'a, Id> {
pub sender_id: &'a Id,
pub opcode: u16,
pub args: SmallVec<[Argument<'a, Id>; 4]>,
}Expand description
Represents a message that has been sent from some object.
Fields§
§sender_id: &'a IdThe id of the object that sent the message.
opcode: u16The opcode of the message.
args: SmallVec<[Argument<'a, Id>; 4]>The arguments of the message.
Trait Implementations§
impl<'a, Id: Eq> Eq for Message<'a, Id>
Source§impl<'a, Id: PartialEq> PartialEq for Message<'a, Id>
impl<'a, Id: PartialEq> PartialEq for Message<'a, Id>
impl<'a, Id: PartialEq> StructuralPartialEq for Message<'a, Id>
Auto Trait Implementations§
impl<'a, Id> Freeze for Message<'a, Id>
impl<'a, Id> RefUnwindSafe for Message<'a, Id>where
Id: RefUnwindSafe,
impl<'a, Id> Send for Message<'a, Id>where
Id: Sync,
impl<'a, Id> Sync for Message<'a, Id>where
Id: Sync,
impl<'a, Id> Unpin for Message<'a, Id>
impl<'a, Id> UnsafeUnpin for Message<'a, Id>
impl<'a, Id> UnwindSafe for Message<'a, Id>where
Id: RefUnwindSafe,
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