[−][src]Struct imagine::pixel_formats::RGBA8
Red/Green/Blue/Alpha, 8-bit channels.
Data should be in the sRGB
colorspace. If you need an alternate colorspace
you should newtype this type with a wrapper type to make that clear.
Fields
r: u8
g: u8
b: u8
a: u8
Trait Implementations
impl From<RGB8> for RGBA8
[src]
impl From<YA8> for RGBA8
[src]
impl From<Y8> for RGBA8
[src]
impl Clone for RGBA8
[src]
impl Copy for RGBA8
[src]
impl Default for RGBA8
[src]
impl Eq for RGBA8
[src]
impl PartialEq<RGBA8> for RGBA8
[src]
impl Debug for RGBA8
[src]
impl StructuralPartialEq for RGBA8
[src]
impl StructuralEq for RGBA8
[src]
impl Zeroable for RGBA8
[src]
impl Pod for RGBA8
[src]
Auto Trait Implementations
impl Send for RGBA8
impl Sync for RGBA8
impl Unpin for RGBA8
impl UnwindSafe for RGBA8
impl RefUnwindSafe for RGBA8
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,