[][src]Enum sdl2_sys::SDL_HitTestResult

#[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,
}

\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

impl Clone for SDL_HitTestResult[src]

impl Copy for SDL_HitTestResult[src]

impl Debug for SDL_HitTestResult[src]

impl Eq for SDL_HitTestResult[src]

impl Hash for SDL_HitTestResult[src]

impl PartialEq<SDL_HitTestResult> for SDL_HitTestResult[src]

impl StructuralEq for SDL_HitTestResult[src]

impl StructuralPartialEq for SDL_HitTestResult[src]

Auto Trait Implementations

impl Send for SDL_HitTestResult

impl Sync for SDL_HitTestResult

impl Unpin for SDL_HitTestResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.