pub struct ClipParams {
pub fill_rule: FillRule,
pub ctm: Matrix,
pub stroke_params: Option<StrokeParams>,
}Expand description
Parameters for clipping.
New fields may be added without notice; pattern-matching consumers
should use .. to ignore unmatched fields.
Fields§
§fill_rule: FillRule§ctm: Matrix§stroke_params: Option<StrokeParams>For stroke-based clips: stroke parameters to expand the clip path from a centerline to a stroke outline before rasterizing.
Trait Implementations§
Source§impl Clone for ClipParams
impl Clone for ClipParams
Source§fn clone(&self) -> ClipParams
fn clone(&self) -> ClipParams
Returns a duplicate of the value. Read more
1.0.0 · 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 ClipParams
impl Debug for ClipParams
Auto Trait Implementations§
impl Freeze for ClipParams
impl RefUnwindSafe for ClipParams
impl Send for ClipParams
impl Sync for ClipParams
impl Unpin for ClipParams
impl UnsafeUnpin for ClipParams
impl UnwindSafe for ClipParams
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