Struct sdl2::pixels::PixelFormat
source · pub struct PixelFormat { /* private fields */ }
Implementations
sourceimpl PixelFormat
impl PixelFormat
pub unsafe fn raw(&self) -> *mut SDL_PixelFormat
sourceimpl PixelFormat
impl PixelFormat
pub unsafe fn from_ll(raw: *mut SDL_PixelFormat) -> PixelFormat
Trait Implementations
sourceimpl From<PixelFormat> for PixelFormatEnum
impl From<PixelFormat> for PixelFormatEnum
sourcefn from(pf: PixelFormat) -> PixelFormatEnum
fn from(pf: PixelFormat) -> PixelFormatEnum
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl !Send for PixelFormat
impl !Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more