Struct sdl2_sys::SDL_MessageBoxColor
source · #[repr(C)]pub struct SDL_MessageBoxColor {
pub r: Uint8,
pub g: Uint8,
pub b: Uint8,
}
Expand description
RGB value used in a message box color scheme
Fields§
§r: Uint8
§g: Uint8
§b: Uint8
Trait Implementations§
source§impl Clone for SDL_MessageBoxColor
impl Clone for SDL_MessageBoxColor
source§fn clone(&self) -> SDL_MessageBoxColor
fn clone(&self) -> SDL_MessageBoxColor
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_MessageBoxColor
Auto Trait Implementations§
impl Freeze for SDL_MessageBoxColor
impl RefUnwindSafe for SDL_MessageBoxColor
impl Send for SDL_MessageBoxColor
impl Sync for SDL_MessageBoxColor
impl Unpin for SDL_MessageBoxColor
impl UnwindSafe for SDL_MessageBoxColor
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