pub enum DisplayEvent {
None,
Orientation(Orientation),
Connected,
Disconnected,
}Expand description
An enum of display events.
Variants§
Implementations§
Source§impl DisplayEvent
impl DisplayEvent
pub fn is_same_kind_as(&self, other: &DisplayEvent) -> bool
Trait Implementations§
Source§impl Clone for DisplayEvent
impl Clone for DisplayEvent
Source§fn clone(&self) -> DisplayEvent
fn clone(&self) -> DisplayEvent
Returns a duplicate 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 DisplayEvent
impl Debug for DisplayEvent
Source§impl Hash for DisplayEvent
impl Hash for DisplayEvent
Source§impl PartialEq for DisplayEvent
impl PartialEq for DisplayEvent
impl Copy for DisplayEvent
impl Eq for DisplayEvent
impl StructuralPartialEq for DisplayEvent
Auto Trait Implementations§
impl Freeze for DisplayEvent
impl RefUnwindSafe for DisplayEvent
impl Send for DisplayEvent
impl Sync for DisplayEvent
impl Unpin for DisplayEvent
impl UnwindSafe for DisplayEvent
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