Struct qt_gui::q_gradient::Type
source · pub struct Type(/* private fields */);
Expand description
Specifies the type of gradient.
C++ enum: QGradient::Type
.
Specifies the type of gradient.
See also type().
Implementations§
source§impl Type
impl Type
sourcepub const LinearGradient: Type = _
pub const LinearGradient: Type = _
Interpolates colors between start and end points (QLinearGradient). (C++ enum variant: LinearGradient = 0
)
sourcepub const RadialGradient: Type = _
pub const RadialGradient: Type = _
Interpolate colors between a focal point and end points on a circle surrounding it (QRadialGradient). (C++ enum variant: RadialGradient = 1
)
sourcepub const ConicalGradient: Type = _
pub const ConicalGradient: Type = _
Interpolate colors around a center point (QConicalGradient). (C++ enum variant: ConicalGradient = 2
)
sourcepub const NoGradient: Type = _
pub const NoGradient: Type = _
No gradient is used. (C++ enum variant: NoGradient = 3
)
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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