Struct tgaimage_sys::TGAColor
[−]
[src]
#[repr(C)]pub struct TGAColor { pub bgra: [c_uchar; 4], pub bytespp: c_uchar, }
Fields
bgra: [c_uchar; 4]
bytespp: c_uchar
Methods
impl TGAColor
[src]
unsafe fn new() -> Self
unsafe fn new1(R: c_uchar, G: c_uchar, B: c_uchar, A: c_uchar) -> Self
unsafe fn new2(v: c_uchar) -> Self
unsafe fn new3(p: *const c_uchar, bpp: c_uchar) -> Self
Trait Implementations
impl Debug for TGAColor
[src]
impl Copy for TGAColor
[src]
impl Clone for TGAColor
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more