#[repr(C)]pub struct sfMouseButtonEvent {
pub type_: sfEventType,
pub button: sfMouseButton,
pub x: c_int,
pub y: c_int,
}
Fields§
§type_: sfEventType
§x: c_int
§y: c_int
Trait Implementations§
Source§impl Clone for sfMouseButtonEvent
impl Clone for sfMouseButtonEvent
Source§fn clone(&self) -> sfMouseButtonEvent
fn clone(&self) -> sfMouseButtonEvent
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 sfMouseButtonEvent
impl Debug for sfMouseButtonEvent
Source§impl Hash for sfMouseButtonEvent
impl Hash for sfMouseButtonEvent
Source§impl Ord for sfMouseButtonEvent
impl Ord for sfMouseButtonEvent
Source§fn cmp(&self, other: &sfMouseButtonEvent) -> Ordering
fn cmp(&self, other: &sfMouseButtonEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for sfMouseButtonEvent
impl PartialEq for sfMouseButtonEvent
Source§impl PartialOrd for sfMouseButtonEvent
impl PartialOrd for sfMouseButtonEvent
impl Copy for sfMouseButtonEvent
impl Eq for sfMouseButtonEvent
impl StructuralPartialEq for sfMouseButtonEvent
Auto Trait Implementations§
impl Freeze for sfMouseButtonEvent
impl RefUnwindSafe for sfMouseButtonEvent
impl Send for sfMouseButtonEvent
impl Sync for sfMouseButtonEvent
impl Unpin for sfMouseButtonEvent
impl UnwindSafe for sfMouseButtonEvent
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