pub struct Handle {
pub name: &'static str,
pub at: (f32, f32),
pub x: Option<usize>,
pub y: Option<usize>,
}Expand description
A draggable point on a page’s first graph; dragging it sets the fields
on its axes through Driver::drag.
Fields§
§name: &'static strWhat it moves, for people (“Cutoff and resonance”).
at: (f32, f32)Where it is, in graph coordinates.
x: Option<usize>The field the horizontal axis sets, if any.
y: Option<usize>The field the vertical axis sets, if any.
Trait Implementations§
impl Copy for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnsafeUnpin for Handle
impl UnwindSafe for Handle
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