Union sdl2_sys::SDL_WindowShapeParams
source · #[repr(C)]
pub union SDL_WindowShapeParams {
pub binarizationCutoff: Uint8,
pub colorKey: SDL_Color,
}
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§
source§impl Clone for SDL_WindowShapeParams
impl Clone for SDL_WindowShapeParams
source§fn clone(&self) -> SDL_WindowShapeParams
fn clone(&self) -> SDL_WindowShapeParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SDL_WindowShapeParams
Auto Trait Implementations§
impl Freeze for SDL_WindowShapeParams
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more