Enum rin::window::events::WindowEvent [−][src]
pub enum WindowEvent { Moved { pos: Point<i32, U2>, }, Resized { size: Matrix<i32, U2, U1, <DefaultAllocator as Allocator<i32, U2, U1>>::Buffer>, }, Closing, }
Variants
Show fields
Implementations
impl WindowEvent
[src]
impl WindowEvent
[src]pub fn is_window_moved_event(&self) -> bool
[src]
pub fn is_window_resized_event(&self) -> bool
[src]
pub fn is_closing_event(&self) -> bool
[src]
pub fn into_event(self) -> Event
[src]
Trait Implementations
impl Clone for WindowEvent
[src]
impl Clone for WindowEvent
[src]pub fn clone(&self) -> WindowEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<WindowEvent> for WindowEvent
[src]
impl PartialEq<WindowEvent> for WindowEvent
[src]pub fn eq(&self, other: &WindowEvent) -> bool
[src]
pub fn ne(&self, other: &WindowEvent) -> bool
[src]
impl Copy for WindowEvent
[src]
impl Eq for WindowEvent
[src]
impl StructuralEq for WindowEvent
[src]
impl StructuralPartialEq for WindowEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowEvent
impl Send for WindowEvent
impl Sync for WindowEvent
impl Unpin for WindowEvent
impl UnwindSafe for WindowEvent
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,