Struct sdl2::pixels::PixelFormat
source · [−]pub struct PixelFormat { /* private fields */ }
Implementations
sourceimpl PixelFormat
impl PixelFormat
pub const unsafe fn raw(&self) -> *mut SDL_PixelFormat
sourceimpl PixelFormat
impl PixelFormat
pub const 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
Performs the conversion.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more