#[repr(C)]pub struct sfVector2i {
pub x: c_int,
pub y: c_int,
}
Fields§
§x: c_int
§y: c_int
Trait Implementations§
Source§impl Clone for sfVector2i
impl Clone for sfVector2i
Source§fn clone(&self) -> sfVector2i
fn clone(&self) -> sfVector2i
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 sfVector2i
impl Debug for sfVector2i
Source§impl Hash for sfVector2i
impl Hash for sfVector2i
Source§impl Ord for sfVector2i
impl Ord for sfVector2i
Source§fn cmp(&self, other: &sfVector2i) -> Ordering
fn cmp(&self, other: &sfVector2i) -> 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 sfVector2i
impl PartialEq for sfVector2i
Source§impl PartialOrd for sfVector2i
impl PartialOrd for sfVector2i
impl Copy for sfVector2i
impl Eq for sfVector2i
impl StructuralPartialEq for sfVector2i
Auto Trait Implementations§
impl Freeze for sfVector2i
impl RefUnwindSafe for sfVector2i
impl Send for sfVector2i
impl Sync for sfVector2i
impl Unpin for sfVector2i
impl UnwindSafe for sfVector2i
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