[−][src]Struct ndless_sdl::video::PixelFormat
Fields
palette: Option<Palette>
bpp: u8
r_loss: u8
g_loss: u8
b_loss: u8
a_loss: u8
r_shift: u8
g_shift: u8
b_shift: u8
a_shift: u8
r_mask: u32
g_mask: u32
b_mask: u32
a_mask: u32
color_key: u32
alpha: u8
Trait Implementations
impl Debug for PixelFormat
[src]
impl PartialEq<PixelFormat> for PixelFormat
[src]
fn eq(&self, other: &PixelFormat) -> bool
[src]
fn ne(&self, other: &PixelFormat) -> bool
[src]
impl StructuralPartialEq for PixelFormat
[src]
Auto Trait Implementations
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>,