pub struct ClipPath {
pub id: String,
pub units: Units,
pub transform: Transform,
pub clip_path: Option<String>,
}
Expand description
A clip-path element.
clipPath
element in SVG.
Fields
id: String
Element’s ID.
Taken from the SVG itself. Can’t be empty.
units: Units
Coordinate system units.
clipPathUnits
in SVG.
transform: Transform
Clip path transform.
transform
in SVG.
clip_path: Option<String>
Additional clip path.
clip-path
in SVG.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClipPath
impl Send for ClipPath
impl Sync for ClipPath
impl Unpin for ClipPath
impl UnwindSafe for ClipPath
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more