Struct sdl2::pixels::PixelFormat
source · pub struct PixelFormat { /* private fields */ }
Implementations§
source§impl PixelFormat
impl PixelFormat
pub const unsafe fn raw(&self) -> *mut SDL_PixelFormat
source§impl PixelFormat
impl PixelFormat
pub const unsafe fn from_ll(raw: *mut SDL_PixelFormat) -> PixelFormat
Trait Implementations§
source§impl From<PixelFormat> for PixelFormatEnum
impl From<PixelFormat> for PixelFormatEnum
source§fn from(pf: PixelFormat) -> PixelFormatEnum
fn from(pf: PixelFormat) -> PixelFormatEnum
Converts to this type from the input type.
source§impl TryFrom<PixelFormatEnum> for PixelFormat
impl TryFrom<PixelFormatEnum> for PixelFormat
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§
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