Struct orbclient::event::ScreenEvent
source · pub struct ScreenEvent {
pub width: u32,
pub height: u32,
}
Expand description
A screen report event
Fields§
§width: u32
§height: u32
Implementations§
source§impl ScreenEvent
impl ScreenEvent
pub fn to_event(&self) -> Event
pub fn from_event(event: Event) -> ScreenEvent
Trait Implementations§
source§impl Clone for ScreenEvent
impl Clone for ScreenEvent
source§fn clone(&self) -> ScreenEvent
fn clone(&self) -> ScreenEvent
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 ScreenEvent
impl Debug for ScreenEvent
impl Copy for ScreenEvent
Auto Trait Implementations§
impl RefUnwindSafe for ScreenEvent
impl Send for ScreenEvent
impl Sync for ScreenEvent
impl Unpin for ScreenEvent
impl UnwindSafe for ScreenEvent
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