pub struct PathGradient {
pub kind: PathGradientKind,
pub fill_to_rect: Option<RelativeRect>,
/* private fields */
}Expand description
Path gradient shape and optional focal rectangle.
Fields§
§kind: PathGradientKind@path. The schema makes it optional without a default, and a missing
path reads as rect, as in LibreOffice’s import.
fill_to_rect: Option<RelativeRect>Trait Implementations§
Source§impl Clone for PathGradient
impl Clone for PathGradient
Source§impl Debug for PathGradient
impl Debug for PathGradient
impl Eq for PathGradient
Source§impl PartialEq for PathGradient
impl PartialEq for PathGradient
impl StructuralPartialEq for PathGradient
Auto Trait Implementations§
impl Freeze for PathGradient
impl RefUnwindSafe for PathGradient
impl Send for PathGradient
impl Sync for PathGradient
impl Unpin for PathGradient
impl UnsafeUnpin for PathGradient
impl UnwindSafe for PathGradient
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