Enum sdl2_sys::SDL_HitTestResult
source · [−]#[repr(u32)]
pub enum SDL_HitTestResult {
SDL_HITTEST_NORMAL,
SDL_HITTEST_DRAGGABLE,
SDL_HITTEST_RESIZE_TOPLEFT,
SDL_HITTEST_RESIZE_TOP,
SDL_HITTEST_RESIZE_TOPRIGHT,
SDL_HITTEST_RESIZE_RIGHT,
SDL_HITTEST_RESIZE_BOTTOMRIGHT,
SDL_HITTEST_RESIZE_BOTTOM,
SDL_HITTEST_RESIZE_BOTTOMLEFT,
SDL_HITTEST_RESIZE_LEFT,
}
Expand description
\brief Possible return values from the SDL_HitTest callback.
\sa SDL_HitTest
Variants
SDL_HITTEST_NORMAL
< Region is normal. No special properties.
SDL_HITTEST_DRAGGABLE
< Region can drag entire window.
SDL_HITTEST_RESIZE_TOPLEFT
SDL_HITTEST_RESIZE_TOP
SDL_HITTEST_RESIZE_TOPRIGHT
SDL_HITTEST_RESIZE_RIGHT
SDL_HITTEST_RESIZE_BOTTOMRIGHT
SDL_HITTEST_RESIZE_BOTTOM
SDL_HITTEST_RESIZE_BOTTOMLEFT
SDL_HITTEST_RESIZE_LEFT
Trait Implementations
sourceimpl Clone for SDL_HitTestResult
impl Clone for SDL_HitTestResult
sourcefn clone(&self) -> SDL_HitTestResult
fn clone(&self) -> SDL_HitTestResult
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 more
sourceimpl Debug for SDL_HitTestResult
impl Debug for SDL_HitTestResult
sourceimpl Hash for SDL_HitTestResult
impl Hash for SDL_HitTestResult
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more