Enum sdl2_sys::WindowShapeMode [−][src]
#[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
\brief The default mode, a binarized alpha cutoff of 1.
\brief A binarized alpha cutoff with a given integer value.
\brief A binarized alpha cutoff with a given integer value, but with the opposite comparison.
\brief A color key is applied.
Trait Implementations
impl Clone for WindowShapeMode
[src]
impl Clone for WindowShapeMode
[src]fn clone(&self) -> WindowShapeMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WindowShapeMode
[src]
impl Copy for WindowShapeMode
[src]impl Eq for WindowShapeMode
[src]
impl Eq for WindowShapeMode
[src]impl Hash for WindowShapeMode
[src]
impl Hash for WindowShapeMode
[src]impl PartialEq<WindowShapeMode> for WindowShapeMode
[src]
impl PartialEq<WindowShapeMode> for WindowShapeMode
[src]fn eq(&self, other: &WindowShapeMode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for WindowShapeMode
[src]
impl StructuralEq for WindowShapeMode
[src]impl StructuralPartialEq for WindowShapeMode
[src]
impl StructuralPartialEq for WindowShapeMode
[src]