Enum printpdf::ColorArray
source · pub enum ColorArray {
Transparent,
Gray([f32; 1]),
RGB([f32; 3]),
CMYK([f32; 4]),
}
Variants§
Trait Implementations§
source§impl Clone for ColorArray
impl Clone for ColorArray
source§fn clone(&self) -> ColorArray
fn clone(&self) -> ColorArray
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 ColorArray
impl Debug for ColorArray
source§impl Default for ColorArray
impl Default for ColorArray
source§impl Into<Object> for ColorArray
impl Into<Object> for ColorArray
impl Copy for ColorArray
Auto Trait Implementations§
impl RefUnwindSafe for ColorArray
impl Send for ColorArray
impl Sync for ColorArray
impl Unpin for ColorArray
impl UnwindSafe for ColorArray
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