pub struct BgUcrState {
pub bg: Option<Arc<Vec<f64>>>,
pub ucr: Option<Arc<Vec<f64>>>,
}Expand description
Pre-sampled black generation / undercolor removal state for PDF output.
Fields§
§bg: Option<Arc<Vec<f64>>>Black generation function (256 samples, domain [0,1] → range [0,1]).
ucr: Option<Arc<Vec<f64>>>Undercolor removal function (256 samples, domain [0,1] → range [-1,1]).
Trait Implementations§
Source§impl Clone for BgUcrState
impl Clone for BgUcrState
Source§fn clone(&self) -> BgUcrState
fn clone(&self) -> BgUcrState
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 BgUcrState
impl Debug for BgUcrState
Source§impl Default for BgUcrState
impl Default for BgUcrState
Source§fn default() -> BgUcrState
fn default() -> BgUcrState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BgUcrState
impl RefUnwindSafe for BgUcrState
impl Send for BgUcrState
impl Sync for BgUcrState
impl Unpin for BgUcrState
impl UnsafeUnpin for BgUcrState
impl UnwindSafe for BgUcrState
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