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§fill_to_rect: Option<RelativeRect>Trait Implementations§
Source§impl Clone for PathGradient
impl Clone for PathGradient
Source§fn clone(&self) -> PathGradient
fn clone(&self) -> PathGradient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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