Struct sdl2::messagebox::MessageBoxColorScheme
source · pub struct MessageBoxColorScheme {
pub background: (u8, u8, u8),
pub text: (u8, u8, u8),
pub button_border: (u8, u8, u8),
pub button_background: (u8, u8, u8),
pub button_selected: (u8, u8, u8),
}
Fields§
§background: (u8, u8, u8)
§text: (u8, u8, u8)
Trait Implementations§
source§impl Debug for MessageBoxColorScheme
impl Debug for MessageBoxColorScheme
source§impl From<MessageBoxColorScheme> for [SDL_MessageBoxColor; 5]
impl From<MessageBoxColorScheme> for [SDL_MessageBoxColor; 5]
source§fn from(scheme: MessageBoxColorScheme) -> [SDL_MessageBoxColor; 5]
fn from(scheme: MessageBoxColorScheme) -> [SDL_MessageBoxColor; 5]
Converts to this type from the input type.
source§impl From<SDL_MessageBoxColorScheme> for MessageBoxColorScheme
impl From<SDL_MessageBoxColorScheme> for MessageBoxColorScheme
source§fn from(prim: SDL_MessageBoxColorScheme) -> MessageBoxColorScheme
fn from(prim: SDL_MessageBoxColorScheme) -> MessageBoxColorScheme
Converts to this type from the input type.
source§impl Into<MessageBoxColorScheme> for [SDL_MessageBoxColor; 5]
impl Into<MessageBoxColorScheme> for [SDL_MessageBoxColor; 5]
source§fn into(self) -> MessageBoxColorScheme
fn into(self) -> MessageBoxColorScheme
Converts this type into the (usually inferred) input type.
source§impl Into<SDL_MessageBoxColorScheme> for MessageBoxColorScheme
impl Into<SDL_MessageBoxColorScheme> for MessageBoxColorScheme
source§fn into(self) -> SDL_MessageBoxColorScheme
fn into(self) -> SDL_MessageBoxColorScheme
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for MessageBoxColorScheme
impl RefUnwindSafe for MessageBoxColorScheme
impl Send for MessageBoxColorScheme
impl Sync for MessageBoxColorScheme
impl Unpin for MessageBoxColorScheme
impl UnwindSafe for MessageBoxColorScheme
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