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§
Sourcefn into_shape_clip(self) -> Result<ShapeClip, ValidationError>
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".