[][src]Enum sdl2_sys::WindowShapeMode

#[repr(u32)]pub enum WindowShapeMode {
    ShapeModeDefault,
    ShapeModeBinarizeAlpha,
    ShapeModeReverseBinarizeAlpha,
    ShapeModeColorKey,
}

\brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union.

Variants

ShapeModeDefault

\brief The default mode, a binarized alpha cutoff of 1.

ShapeModeBinarizeAlpha

\brief A binarized alpha cutoff with a given integer value.

ShapeModeReverseBinarizeAlpha

\brief A binarized alpha cutoff with a given integer value, but with the opposite comparison.

ShapeModeColorKey

\brief A color key is applied.

Trait Implementations

impl Clone for WindowShapeMode[src]

impl Copy for WindowShapeMode[src]

impl Debug for WindowShapeMode[src]

impl Eq for WindowShapeMode[src]

impl Hash for WindowShapeMode[src]

impl PartialEq<WindowShapeMode> for WindowShapeMode[src]

impl StructuralEq for WindowShapeMode[src]

impl StructuralPartialEq for WindowShapeMode[src]

Auto Trait Implementations

impl Send for WindowShapeMode

impl Sync for WindowShapeMode

impl Unpin for WindowShapeMode

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.