Struct allegro_sys::events::ALLEGRO_ANY_EVENT
source · #[repr(C)]pub struct ALLEGRO_ANY_EVENT {
pub _type: ALLEGRO_EVENT_TYPE,
pub source: *mut ALLEGRO_EVENT_SOURCE,
pub timestamp: c_double,
}
Fields
_type: ALLEGRO_EVENT_TYPE
source: *mut ALLEGRO_EVENT_SOURCE
timestamp: c_double
Trait Implementations
sourceimpl Clone for ALLEGRO_ANY_EVENT
impl Clone for ALLEGRO_ANY_EVENT
sourcefn clone(&self) -> ALLEGRO_ANY_EVENT
fn clone(&self) -> ALLEGRO_ANY_EVENT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ALLEGRO_ANY_EVENT
Auto Trait Implementations
impl RefUnwindSafe for ALLEGRO_ANY_EVENT
impl !Send for ALLEGRO_ANY_EVENT
impl !Sync for ALLEGRO_ANY_EVENT
impl Unpin for ALLEGRO_ANY_EVENT
impl UnwindSafe for ALLEGRO_ANY_EVENT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more