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 duplicate 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
impl Copy for InterpolationMode
impl Eq for InterpolationMode
impl StructuralPartialEq for InterpolationMode
Auto Trait Implementations§
impl Freeze for InterpolationMode
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