pub enum GroupColorSpace {
Inherited,
DeviceGray,
DeviceRGB,
DeviceCMYK,
}Expand description
Color space declared by a transparency group’s /CS entry. Per PDF spec
§11.6.7, this is the color space in which the group’s compositing
computations are performed; renderers that need spec-correct blend mode
math (especially for the inversion-sensitive separable modes and the HSL
non-separable modes) must operate in this space rather than the device’s
display space.
Variants§
Inherited
No /CS entry — inherits from the enclosing group / page group.
DeviceGray
/DeviceGray or /CalGray or /ICCBased with N=1.
DeviceRGB
/DeviceRGB or /CalRGB or /ICCBased with N=3.
DeviceCMYK
/DeviceCMYK or /ICCBased with N=4.
Trait Implementations§
Source§impl Clone for GroupColorSpace
impl Clone for GroupColorSpace
Source§fn clone(&self) -> GroupColorSpace
fn clone(&self) -> GroupColorSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupColorSpace
impl Debug for GroupColorSpace
Source§impl PartialEq for GroupColorSpace
impl PartialEq for GroupColorSpace
Source§fn eq(&self, other: &GroupColorSpace) -> bool
fn eq(&self, other: &GroupColorSpace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GroupColorSpace
impl Eq for GroupColorSpace
impl StructuralPartialEq for GroupColorSpace
Auto Trait Implementations§
impl Freeze for GroupColorSpace
impl RefUnwindSafe for GroupColorSpace
impl Send for GroupColorSpace
impl Sync for GroupColorSpace
impl Unpin for GroupColorSpace
impl UnsafeUnpin for GroupColorSpace
impl UnwindSafe for GroupColorSpace
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