Struct qt_gui::q_gradient::InterpolationMode
source · pub struct InterpolationMode(/* private fields */);
Expand description
C++ enum: QGradient::InterpolationMode
.
Implementations§
source§impl InterpolationMode
impl InterpolationMode
sourcepub const ColorInterpolation: InterpolationMode = _
pub const ColorInterpolation: InterpolationMode = _
C++ enum variant: ColorInterpolation = 0
sourcepub const ComponentInterpolation: InterpolationMode = _
pub const ComponentInterpolation: InterpolationMode = _
C++ enum variant: ComponentInterpolation = 1
Trait Implementations§
source§impl Clone for InterpolationMode
impl Clone for InterpolationMode
source§fn clone(&self) -> InterpolationMode
fn clone(&self) -> InterpolationMode
Returns a copy of the value. Read more
1.0.0 · 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 InterpolationMode
impl Debug for InterpolationMode
source§impl From<InterpolationMode> for c_int
impl From<InterpolationMode> for c_int
source§fn from(value: InterpolationMode) -> Self
fn from(value: InterpolationMode) -> Self
Converts to this type from the input type.
source§impl From<i32> for InterpolationMode
impl From<i32> for InterpolationMode
source§impl PartialEq for InterpolationMode
impl PartialEq for InterpolationMode
source§fn eq(&self, other: &InterpolationMode) -> bool
fn eq(&self, other: &InterpolationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterpolationMode
impl Eq for InterpolationMode
impl StructuralEq for InterpolationMode
impl StructuralPartialEq for InterpolationMode
Auto Trait Implementations§
impl RefUnwindSafe for InterpolationMode
impl Send for InterpolationMode
impl Sync for InterpolationMode
impl Unpin for InterpolationMode
impl UnwindSafe for InterpolationMode
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