pub struct SeparationInfo<'a> { /* private fields */ }
Expand description
Writer for the separation information dictionary. PDF 1.3+.
This struct is created by Catalog::separation_info
.
Implementations§
source§impl SeparationInfo<'_>
impl SeparationInfo<'_>
sourcepub fn pages(&mut self, pages: impl IntoIterator<Item = Ref>) -> &mut Self
pub fn pages(&mut self, pages: impl IntoIterator<Item = Ref>) -> &mut Self
Write the /Pages
attribute. Required.
This indicates all page dictionaries in the document that represent separations of the same page and shall be rendered together.
sourcepub fn device_colorant(&mut self, colorant: Name<'_>) -> &mut Self
pub fn device_colorant(&mut self, colorant: Name<'_>) -> &mut Self
Write the /DeviceColorant
attribute as a name. Required.
The name of the device colorant that corresponds to the separation.
sourcepub fn device_colorant_str(&mut self, colorant: &str) -> &mut Self
pub fn device_colorant_str(&mut self, colorant: &str) -> &mut Self
Write the /DeviceColorant
attribute as a string. Required.
The name of the device colorant that corresponds to the separation.
sourcepub fn color_space(&mut self) -> ColorSpace<'_>
pub fn color_space(&mut self) -> ColorSpace<'_>
Start writing the /ColorSpace
array.
This shall be an Separation or DeviceN color space that further defines the separation color space.
Trait Implementations§
source§impl<'a, 'any> Rewrite<'a> for SeparationInfo<'any>
impl<'a, 'any> Rewrite<'a> for SeparationInfo<'any>
source§type Output = SeparationInfo<'a>
type Output = SeparationInfo<'a>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a> Freeze for SeparationInfo<'a>
impl<'a> RefUnwindSafe for SeparationInfo<'a>
impl<'a> Send for SeparationInfo<'a>
impl<'a> Sync for SeparationInfo<'a>
impl<'a> Unpin for SeparationInfo<'a>
impl<'a> !UnwindSafe for SeparationInfo<'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