pub struct DeviceNMixingHints<'a> { /* private fields */ }
Expand description
Writer for a DeviceN mixing hints dictionary. PDF 1.6+.
This struct is created by DeviceNAttrs::mixing_hints
.
Implementations§
source§impl DeviceNMixingHints<'_>
impl DeviceNMixingHints<'_>
sourcepub fn solidities(&mut self) -> TypedDict<'_, f32>
pub fn solidities(&mut self) -> TypedDict<'_, f32>
Start writing the /Solidities
dictionary.
Each key in the dictionary is a colorant name and each value is a number between 0 and 1 indicating the relative solidity of the colorant.
sourcepub fn printing_order<'n>(
&mut self,
order: impl IntoIterator<Item = Name<'n>>,
) -> &mut Self
pub fn printing_order<'n>( &mut self, order: impl IntoIterator<Item = Name<'n>>, ) -> &mut Self
Write the /PrintingOrder
attribute.
Required if /Solidities
is present. An array of colorant names in the
order in which they should be printed.
Trait Implementations§
source§impl<'a, 'any> Rewrite<'a> for DeviceNMixingHints<'any>
impl<'a, 'any> Rewrite<'a> for DeviceNMixingHints<'any>
source§type Output = DeviceNMixingHints<'a>
type Output = DeviceNMixingHints<'a>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a> Freeze for DeviceNMixingHints<'a>
impl<'a> RefUnwindSafe for DeviceNMixingHints<'a>
impl<'a> Send for DeviceNMixingHints<'a>
impl<'a> Sync for DeviceNMixingHints<'a>
impl<'a> Unpin for DeviceNMixingHints<'a>
impl<'a> !UnwindSafe for DeviceNMixingHints<'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