Enum pdf_writer::types::ColorSpaceOperand [−][src]
pub enum ColorSpaceOperand<'a> {
DeviceGray,
DeviceRgb,
DeviceCmyk,
Pattern,
Named(Name<'a>),
}
Expand description
A color space operand to the CS
or
cs
operator.
These are either the predefined, parameter-less color spaces like
DeviceGray
or the ones defined by the user, accessed through the Named
variant. A custom color space of types like CalRGB
or Pattern
can be set
by registering it with the color_spaces
dictionary.
Variants
DeviceGray
DeviceRgb
DeviceCmyk
Pattern
Named(Name<'a>)
Tuple Fields
0: Name<'a>
A named color space defined the current Resources
dictionary.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ColorSpaceOperand<'a>
impl<'a> Send for ColorSpaceOperand<'a>
impl<'a> Sync for ColorSpaceOperand<'a>
impl<'a> Unpin for ColorSpaceOperand<'a>
impl<'a> UnwindSafe for ColorSpaceOperand<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more