#[repr(transparent)]pub struct SDL_HitTestResult(pub c_uint);Expand description
Possible return values from the SDL_HitTest callback.
Thread Safety: This function should only be called on the main thread.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_HitTest
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_HitTestResult
impl SDL_HitTestResult
Sourcepub const SDL_HITTEST_NORMAL: SDL_HitTestResult
pub const SDL_HITTEST_NORMAL: SDL_HitTestResult
< Region is normal. No special properties.
Sourcepub const SDL_HITTEST_DRAGGABLE: SDL_HitTestResult
pub const SDL_HITTEST_DRAGGABLE: SDL_HitTestResult
< Region can drag entire window.
Sourcepub const SDL_HITTEST_RESIZE_TOPLEFT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_TOPLEFT: SDL_HitTestResult
< Region is the resizable top-left corner border.
Sourcepub const SDL_HITTEST_RESIZE_TOP: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_TOP: SDL_HitTestResult
< Region is the resizable top border.
Sourcepub const SDL_HITTEST_RESIZE_TOPRIGHT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_TOPRIGHT: SDL_HitTestResult
< Region is the resizable top-right corner border.
Sourcepub const SDL_HITTEST_RESIZE_RIGHT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_RIGHT: SDL_HitTestResult
< Region is the resizable right border.
Sourcepub const SDL_HITTEST_RESIZE_BOTTOMRIGHT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_BOTTOMRIGHT: SDL_HitTestResult
< Region is the resizable bottom-right corner border.
Sourcepub const SDL_HITTEST_RESIZE_BOTTOM: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_BOTTOM: SDL_HitTestResult
< Region is the resizable bottom border.
Sourcepub const SDL_HITTEST_RESIZE_BOTTOMLEFT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_BOTTOMLEFT: SDL_HitTestResult
< Region is the resizable bottom-left corner border.
Sourcepub const SDL_HITTEST_RESIZE_LEFT: SDL_HitTestResult
pub const SDL_HITTEST_RESIZE_LEFT: SDL_HitTestResult
< Region is the resizable left border.
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 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 SDL_HitTestResult
impl Debug for SDL_HitTestResult
Source§impl Hash for SDL_HitTestResult
impl Hash for SDL_HitTestResult
Source§impl PartialEq for SDL_HitTestResult
impl PartialEq for SDL_HitTestResult
impl Copy for SDL_HitTestResult
impl Eq for SDL_HitTestResult
impl StructuralPartialEq for SDL_HitTestResult
Auto Trait Implementations§
impl Freeze for SDL_HitTestResult
impl RefUnwindSafe for SDL_HitTestResult
impl Send for SDL_HitTestResult
impl Sync for SDL_HitTestResult
impl Unpin for SDL_HitTestResult
impl UnsafeUnpin 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