Struct fermium::video::SDL_HitTestResult
source · #[repr(transparent)]pub struct SDL_HitTestResult(pub u32);
Expand description
The results of a hit test.
See SDL_HITTEST_*
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for SDL_HitTestResult
impl Clone for SDL_HitTestResult
source§fn clone(&self) -> SDL_HitTestResult
fn clone(&self) -> SDL_HitTestResult
Returns a copy 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_HitTestResult
impl Debug for SDL_HitTestResult
source§impl Default for SDL_HitTestResult
impl Default for SDL_HitTestResult
source§fn default() -> SDL_HitTestResult
fn default() -> SDL_HitTestResult
Returns the “default value” for a type. Read more
source§impl Hash for SDL_HitTestResult
impl Hash for SDL_HitTestResult
source§impl Ord for SDL_HitTestResult
impl Ord for SDL_HitTestResult
source§fn cmp(&self, other: &SDL_HitTestResult) -> Ordering
fn cmp(&self, other: &SDL_HitTestResult) -> 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<SDL_HitTestResult> for SDL_HitTestResult
impl PartialEq<SDL_HitTestResult> for SDL_HitTestResult
source§fn eq(&self, other: &SDL_HitTestResult) -> bool
fn eq(&self, other: &SDL_HitTestResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_HitTestResult> for SDL_HitTestResult
impl PartialOrd<SDL_HitTestResult> for SDL_HitTestResult
source§fn partial_cmp(&self, other: &SDL_HitTestResult) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_HitTestResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SDL_HitTestResult
impl Eq for SDL_HitTestResult
impl StructuralEq for SDL_HitTestResult
impl StructuralPartialEq for SDL_HitTestResult
Auto Trait Implementations§
impl RefUnwindSafe for SDL_HitTestResult
impl Send for SDL_HitTestResult
impl Sync for SDL_HitTestResult
impl Unpin for SDL_HitTestResult
impl UnwindSafe for SDL_HitTestResult
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