Struct qt_gui::q_gradient::Spread
source · pub struct Spread(/* private fields */);
Expand description
Specifies how the area outside the gradient area should be filled.
C++ enum: QGradient::Spread
.
Implementations§
source§impl Spread
impl Spread
sourcepub const PadSpread: Spread = _
pub const PadSpread: Spread = _
The area is filled with the closest stop color. This is the default. (C++ enum variant: PadSpread = 0
)
sourcepub const ReflectSpread: Spread = _
pub const ReflectSpread: Spread = _
The gradient is reflected outside the gradient area. (C++ enum variant: ReflectSpread = 1
)
sourcepub const RepeatSpread: Spread = _
pub const RepeatSpread: Spread = _
The gradient is repeated outside the gradient area. (C++ enum variant: RepeatSpread = 2
)
Trait Implementations§
source§impl PartialEq for Spread
impl PartialEq for Spread
impl Copy for Spread
impl Eq for Spread
impl StructuralEq for Spread
impl StructuralPartialEq for Spread
Auto Trait Implementations§
impl RefUnwindSafe for Spread
impl Send for Spread
impl Sync for Spread
impl Unpin for Spread
impl UnwindSafe for Spread
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