pub struct Message {
pub component: Component,
pub message: i32,
pub entity: Option<usize>,
pub a: i32,
pub b: i32,
}Expand description
A message an action delivered (slot of the receiving component). The owner dispatches these after the character update.
Fields§
§component: ComponentThe component that receives the message.
message: i32The message’s number.
entity: Option<usize>The entity it is for, if any.
a: i32The first argument.
b: i32The second argument.
Trait Implementations§
impl Copy for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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