[−][src]Enum kiss3d::event::WindowEvent
Variants
Pos(i32, i32)
Size(u32, u32)
Close
Refresh
Focus(bool)
Iconify(bool)
FramebufferSize(u32, u32)
MouseButton(MouseButton, Action, Modifiers)
CursorPos(f64, f64, Modifiers)
CursorEnter(bool)
Scroll(f64, f64, Modifiers)
Key(Key, Action, Modifiers)
Char(char)
CharModifiers(char, Modifiers)
Methods
impl WindowEvent
[src]
pub fn is_keyboard_event(&self) -> bool
[src]
Tests if this event is related to the keyboard.
pub fn is_mouse_event(&self) -> bool
[src]
Tests if this event is related to the mouse.
Trait Implementations
impl Copy for WindowEvent
[src]
impl PartialOrd<WindowEvent> for WindowEvent
[src]
fn partial_cmp(&self, other: &WindowEvent) -> Option<Ordering>
[src]
fn lt(&self, other: &WindowEvent) -> bool
[src]
fn le(&self, other: &WindowEvent) -> bool
[src]
fn gt(&self, other: &WindowEvent) -> bool
[src]
fn ge(&self, other: &WindowEvent) -> bool
[src]
impl PartialEq<WindowEvent> for WindowEvent
[src]
fn eq(&self, other: &WindowEvent) -> bool
[src]
fn ne(&self, other: &WindowEvent) -> bool
[src]
impl Clone for WindowEvent
[src]
fn clone(&self) -> WindowEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for WindowEvent
[src]
impl Serialize for WindowEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for WindowEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for WindowEvent
impl Sync for WindowEvent
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,