Struct sdl2_sys::SDL_WindowShapeMode
source · #[repr(C)]pub struct SDL_WindowShapeMode {
pub mode: WindowShapeMode,
pub parameters: SDL_WindowShapeParams,
}
Expand description
\brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents.
Fields§
§mode: WindowShapeMode
\brief The mode of these window-shape parameters.
parameters: SDL_WindowShapeParams
\brief Window-shape parameters.
Trait Implementations§
source§impl Clone for SDL_WindowShapeMode
impl Clone for SDL_WindowShapeMode
source§fn clone(&self) -> SDL_WindowShapeMode
fn clone(&self) -> SDL_WindowShapeMode
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_WindowShapeMode
Auto Trait Implementations§
impl Freeze for SDL_WindowShapeMode
impl RefUnwindSafe for SDL_WindowShapeMode
impl Send for SDL_WindowShapeMode
impl Sync for SDL_WindowShapeMode
impl Unpin for SDL_WindowShapeMode
impl UnwindSafe for SDL_WindowShapeMode
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