Struct allegro::events::EventSource
source · pub struct EventSource<'l> { /* private fields */ }
Implementations
sourceimpl<'m> EventSource<'m>
impl<'m> EventSource<'m>
pub unsafe fn wrap<'l>(source: *mut ALLEGRO_EVENT_SOURCE) -> EventSource<'l>
pub fn get_event_source(&self) -> *mut ALLEGRO_EVENT_SOURCE
Trait Implementations
sourceimpl<'l> Clone for EventSource<'l>
impl<'l> Clone for EventSource<'l>
sourcefn clone(&self) -> EventSource<'l>
fn clone(&self) -> EventSource<'l>
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<'l> Copy for EventSource<'l>
Auto Trait Implementations
impl<'l> RefUnwindSafe for EventSource<'l>
impl<'l> !Send for EventSource<'l>
impl<'l> !Sync for EventSource<'l>
impl<'l> Unpin for EventSource<'l>
impl<'l> UnwindSafe for EventSource<'l>
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