pub struct DeviceNProcess<'a> { /* private fields */ }
Expand description
Writer for a DeviceN process dictionary. PDF 1.6+.
This struct is created by DeviceNAttrs::process
.
Implementations§
source§impl DeviceNProcess<'_>
impl DeviceNProcess<'_>
sourcepub fn color_space(&mut self, color_space: Name<'_>) -> &mut Self
pub fn color_space(&mut self, color_space: Name<'_>) -> &mut Self
Write the /ColorSpace
attribute with a name. Required.
sourcepub fn color_space_array(&mut self) -> ColorSpace<'_>
pub fn color_space_array(&mut self) -> ColorSpace<'_>
Write the /ColorSpace
attribute with an array. Required.
sourcepub fn components<'n>(
&mut self,
components: impl IntoIterator<Item = Name<'n>>,
) -> &mut Self
pub fn components<'n>( &mut self, components: impl IntoIterator<Item = Name<'n>>, ) -> &mut Self
Write the /Components
attribute. Required.
Contains the names of the colorants in the order in which they appear in the color space array.
Trait Implementations§
source§impl<'a, 'any> Rewrite<'a> for DeviceNProcess<'any>
impl<'a, 'any> Rewrite<'a> for DeviceNProcess<'any>
source§type Output = DeviceNProcess<'a>
type Output = DeviceNProcess<'a>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a> Freeze for DeviceNProcess<'a>
impl<'a> RefUnwindSafe for DeviceNProcess<'a>
impl<'a> Send for DeviceNProcess<'a>
impl<'a> Sync for DeviceNProcess<'a>
impl<'a> Unpin for DeviceNProcess<'a>
impl<'a> !UnwindSafe for DeviceNProcess<'a>
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