#[repr(C)]pub struct SDL_RenderEvent {
pub type: SDL_EventType,
pub reserved: Uint32,
pub timestamp: Uint64,
pub windowID: SDL_WindowID,
}Expand description
Fields§
§type: SDL_EventType§reserved: Uint32§timestamp: Uint64In nanoseconds, populated using SDL_GetTicksNS()
windowID: SDL_WindowIDThe window containing the renderer in question.
Trait Implementations§
Source§impl Clone for SDL_RenderEvent
impl Clone for SDL_RenderEvent
Source§fn clone(&self) -> SDL_RenderEvent
fn clone(&self) -> SDL_RenderEvent
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 SDL_RenderEvent
impl Debug for SDL_RenderEvent
Source§impl Default for SDL_RenderEvent
impl Default for SDL_RenderEvent
Source§fn default() -> SDL_RenderEvent
fn default() -> SDL_RenderEvent
Returns the “default value” for a type. Read more
Source§impl Hash for SDL_RenderEvent
impl Hash for SDL_RenderEvent
Source§impl PartialEq for SDL_RenderEvent
impl PartialEq for SDL_RenderEvent
impl Copy for SDL_RenderEvent
impl Eq for SDL_RenderEvent
impl StructuralPartialEq for SDL_RenderEvent
Auto Trait Implementations§
impl Freeze for SDL_RenderEvent
impl RefUnwindSafe for SDL_RenderEvent
impl Send for SDL_RenderEvent
impl Sync for SDL_RenderEvent
impl Unpin for SDL_RenderEvent
impl UnwindSafe for SDL_RenderEvent
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