Enum sdl2_sys::SDL_HitTestResult [] [src]

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

Trait Implementations

impl Debug for SDL_HitTestResult
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_HitTestResult
[src]

impl Clone for SDL_HitTestResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SDL_HitTestResult
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for SDL_HitTestResult
[src]

impl Hash for SDL_HitTestResult
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more