Union sdl2_sys::SDL_WindowShapeParams
source · [−]#[repr(C)]
pub union SDL_WindowShapeParams {
pub binarizationCutoff: Uint8,
pub colorKey: SDL_Color,
/* private fields */
}
Expand description
\brief A union containing parameters for shaped windows.
Fields
binarizationCutoff: Uint8
\brief A cutoff alpha value for binarization of the window shape’s alpha channel.
colorKey: SDL_Color
Trait Implementations
sourceimpl Clone for SDL_WindowShapeParams
impl Clone for SDL_WindowShapeParams
sourcefn clone(&self) -> SDL_WindowShapeParams
fn clone(&self) -> SDL_WindowShapeParams
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
impl Copy for SDL_WindowShapeParams
Auto Trait Implementations
impl RefUnwindSafe for SDL_WindowShapeParams
impl Send for SDL_WindowShapeParams
impl Sync for SDL_WindowShapeParams
impl Unpin for SDL_WindowShapeParams
impl UnwindSafe for SDL_WindowShapeParams
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