Enum conrod_core::widget::envelope_editor::Event [−][src]
pub enum Event<E> where
E: EnvelopePoint, { AddPoint { i: usize, point: E, }, RemovePoint { i: usize, }, MovePoint { i: usize, x: E::X, y: E::Y, }, }
Expand description
The kinds of events that may be yielded by the EnvelopeEditor
.
Variants
Insert a new point.
Show fields
Fields of AddPoint
Remove a point.
Show fields
Fields of RemovePoint
i: usize
The index of the point that should be removed.
Move a point.
Show fields
Implementations
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Event<E> where
E: RefUnwindSafe,
<E as EnvelopePoint>::X: RefUnwindSafe,
<E as EnvelopePoint>::Y: RefUnwindSafe,
impl<E> Send for Event<E> where
E: Send,
<E as EnvelopePoint>::X: Send,
<E as EnvelopePoint>::Y: Send,
impl<E> Sync for Event<E> where
E: Sync,
<E as EnvelopePoint>::X: Sync,
<E as EnvelopePoint>::Y: Sync,
impl<E> Unpin for Event<E> where
E: Unpin,
<E as EnvelopePoint>::X: Unpin,
<E as EnvelopePoint>::Y: Unpin,
impl<E> UnwindSafe for Event<E> where
E: UnwindSafe,
<E as EnvelopePoint>::X: UnwindSafe,
<E as EnvelopePoint>::Y: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more