pub struct HalftoneState {
pub gray: Option<Arc<HalftoneScreen>>,
pub color: Option<[Option<Arc<HalftoneScreen>>; 4]>,
}Expand description
Pre-computed halftone state captured at paint time.
Fields§
§gray: Option<Arc<HalftoneScreen>>Single-component halftone (from setscreen). None = default (suppress).
color: Option<[Option<Arc<HalftoneScreen>>; 4]>Per-component [R, G, B, Gray] (from setcolorscreen). Emits Type 5 composite.
Trait Implementations§
Source§impl Clone for HalftoneState
impl Clone for HalftoneState
Source§fn clone(&self) -> HalftoneState
fn clone(&self) -> HalftoneState
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 HalftoneState
impl Debug for HalftoneState
Source§impl Default for HalftoneState
impl Default for HalftoneState
Source§fn default() -> HalftoneState
fn default() -> HalftoneState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HalftoneState
impl RefUnwindSafe for HalftoneState
impl Send for HalftoneState
impl Sync for HalftoneState
impl Unpin for HalftoneState
impl UnsafeUnpin for HalftoneState
impl UnwindSafe for HalftoneState
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