Enum viewbuilder::native::window::RawWindowMessage
source · pub enum RawWindowMessage {
UserEvent(Box<dyn Any>),
Resized(PhysicalSize<u32>),
}Available on crate features
native and window only.Expand description
Slot to emit an event from the raw window.
Variants§
Trait Implementations§
source§impl Slot<RawWindowMessage> for Window
impl Slot<RawWindowMessage> for Window
source§fn update(&mut self, cx: Handle<Self>, msg: RawWindowMessage)
fn update(&mut self, cx: Handle<Self>, msg: RawWindowMessage)
Handle a message.
Auto Trait Implementations§
impl !RefUnwindSafe for RawWindowMessage
impl !Send for RawWindowMessage
impl !Sync for RawWindowMessage
impl Unpin for RawWindowMessage
impl !UnwindSafe for RawWindowMessage
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