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
sourceimpl Clone for SDL_WindowShapeMode
impl Clone for SDL_WindowShapeMode
sourcefn clone(&self) -> SDL_WindowShapeMode
fn clone(&self) -> SDL_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
impl Copy for SDL_WindowShapeMode
Auto Trait Implementations
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
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