pub struct ForwardedMessage {
pub sender: WidgetId,
pub data: Message,
}
Fields§
§sender: WidgetId
§data: Message
Trait Implementations§
source§impl Clone for ForwardedMessage
impl Clone for ForwardedMessage
source§fn clone(&self) -> ForwardedMessage
fn clone(&self) -> ForwardedMessage
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 ForwardedMessage
impl Debug for ForwardedMessage
source§impl MessageData for ForwardedMessagewhere
Self: Clone,
impl MessageData for ForwardedMessagewhere
Self: Clone,
fn clone_message(&self) -> Box<dyn MessageData>
fn as_any(&self) -> &dyn Any
Auto Trait Implementations§
impl Freeze for ForwardedMessage
impl !RefUnwindSafe for ForwardedMessage
impl Send for ForwardedMessage
impl Sync for ForwardedMessage
impl Unpin for ForwardedMessage
impl !UnwindSafe for ForwardedMessage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)