Struct gdal_sys::GDALColorEntry
source · #[repr(C)]pub struct GDALColorEntry {
pub c1: c_short,
pub c2: c_short,
pub c3: c_short,
pub c4: c_short,
}
Expand description
Color tuple
Fields§
§c1: c_short
gray, red, cyan or hue
c2: c_short
green, magenta, or lightness
c3: c_short
blue, yellow, or saturation
c4: c_short
alpha or blackband
Trait Implementations§
source§impl Clone for GDALColorEntry
impl Clone for GDALColorEntry
source§fn clone(&self) -> GDALColorEntry
fn clone(&self) -> GDALColorEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GDALColorEntry
impl Debug for GDALColorEntry
impl Copy for GDALColorEntry
Auto Trait Implementations§
impl RefUnwindSafe for GDALColorEntry
impl Send for GDALColorEntry
impl Sync for GDALColorEntry
impl Unpin for GDALColorEntry
impl UnwindSafe for GDALColorEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more