Skip to main content

IntoShapeClip

Trait IntoShapeClip 

Source
pub trait IntoShapeClip {
    // Required method
    fn into_shape_clip(self) -> Result<ShapeClip, ValidationError>;
}
Expand description

Values accepted by crate::NodeModifiers::clip that convert to a ShapeClip.

Shapes convert through their fallible Shape::path; clips convert directly.

Required Methods§

Source

fn into_shape_clip(self) -> Result<ShapeClip, ValidationError>

Captures the clip geometry, reporting invalid shapes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§