pub struct Stop {
pub at: f32,
pub color: Color,
}Expand description
A stop: where along the run it sits, and what colour it is there.
Fields§
§at: f32Zero at the start of the run, one at the end.
color: ColorImplementations§
Trait Implementations§
impl Copy for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze 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