pub struct ClipPath {
pub id: String,
pub units: Units,
pub transform: Transform,
pub clip_path: Option<SharedClipPath>,
pub root: Group,
}
Expand description
A clip-path element.
clipPath
element in SVG.
Fields§
§id: String
Element’s ID.
Taken from the SVG itself.
Used only during SVG writing. resvg
doesn’t rely on this property.
units: Units
Coordinate system units.
clipPathUnits
in SVG.
transform: Transform
Clip path transform.
transform
in SVG.
clip_path: Option<SharedClipPath>
Additional clip path.
clip-path
in SVG.
root: Group
Clip path children.
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§
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