pub struct SDL_Palette {
pub ncolors: c_int,
pub colors: *mut SDL_Color,
pub version: Uint32,
pub refcount: c_int,
/* private fields */
}Expand description
Fields§
§ncolors: c_intnumber of elements in colors.
colors: *mut SDL_Coloran array of colors, ncolors long.
version: Uint32internal use only, do not touch.
refcount: c_intinternal use only, do not touch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDL_Palette
impl RefUnwindSafe for SDL_Palette
impl !Send for SDL_Palette
impl !Sync for SDL_Palette
impl Unpin for SDL_Palette
impl UnwindSafe for SDL_Palette
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