Enum sdl2_sys::WindowShapeMode
source · [−]#[repr(u32)]
pub enum WindowShapeMode {
ShapeModeDefault,
ShapeModeBinarizeAlpha,
ShapeModeReverseBinarizeAlpha,
ShapeModeColorKey,
}
Expand description
\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
sourceimpl Clone for WindowShapeMode
impl Clone for WindowShapeMode
sourcefn clone(&self) -> WindowShapeMode
fn clone(&self) -> WindowShapeMode
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 WindowShapeMode
impl Debug for WindowShapeMode
sourceimpl Hash for WindowShapeMode
impl Hash for WindowShapeMode
sourceimpl PartialEq<WindowShapeMode> for WindowShapeMode
impl PartialEq<WindowShapeMode> for WindowShapeMode
impl Copy for WindowShapeMode
impl Eq for WindowShapeMode
impl StructuralEq for WindowShapeMode
impl StructuralPartialEq for WindowShapeMode
Auto Trait Implementations
impl RefUnwindSafe for WindowShapeMode
impl Send for WindowShapeMode
impl Sync for WindowShapeMode
impl Unpin for WindowShapeMode
impl UnwindSafe for WindowShapeMode
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