pub enum ClipGeometry {
Rectangle(Rect),
Path(Arc<Path2D>),
}Expand description
Immutable rectangle or path geometry used to intersect geometric clipping domains.
Variants§
Rectangle(Rect)
Raw opposite-corner rectangle, validated before geometric intersection.
Path(Arc<Path2D>)
Shared path whose contour interpretation comes from its owning clip.
Trait Implementations§
Source§impl Clone for ClipGeometry
impl Clone for ClipGeometry
Source§impl Debug for ClipGeometry
impl Debug for ClipGeometry
Source§impl PartialEq for ClipGeometry
impl PartialEq for ClipGeometry
impl StructuralPartialEq for ClipGeometry
Auto Trait Implementations§
impl Forget for ClipGeometry
impl Freeze for ClipGeometry
impl RefUnwindSafe for ClipGeometry
impl Send for ClipGeometry
impl Sync for ClipGeometry
impl Unpin for ClipGeometry
impl UnsafeUnpin for ClipGeometry
impl UnwindSafe for ClipGeometry
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