pub struct Stop {
pub offset: f64,
pub color: Color,
pub bias: f64,
}Fields§
§offset: f64§color: Color§bias: f64Affinity’s midpoint bias for the segment from this stop to the next (0.5 = even blend).
Implementations§
Trait Implementations§
impl Copy for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Forget for Stop
impl Freeze for Stop
impl Move for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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