[−][src]Struct sdl2::pixels::PixelFormat
Methods
impl PixelFormat
[src]
pub const unsafe fn raw(&self) -> *mut SDL_PixelFormat
[src]
impl PixelFormat
[src]
pub const unsafe fn from_ll(raw: *mut SDL_PixelFormat) -> PixelFormat
[src]
Trait Implementations
impl From<PixelFormat> for PixelFormatEnum
[src]
fn from(pf: PixelFormat) -> PixelFormatEnum
[src]
impl TryFrom<PixelFormatEnum> for PixelFormat
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,