pub enum ParamApply {
Live,
OnReload,
}Expand description
Point at which an edit to a parameter reaches the simulation.
A state’s set_param rejects an edit to a parameter declared OnReload, and the UI reads the same
flag to say so before anything is sent.
Variants§
Live
The running state picks the new value up on its next tick.
OnReload
The state reads the value only while it is built, and an edit needs a rebuild.
Trait Implementations§
Source§impl Clone for ParamApply
impl Clone for ParamApply
impl Copy for ParamApply
Source§impl Debug for ParamApply
impl Debug for ParamApply
Source§impl Default for ParamApply
impl Default for ParamApply
impl Eq for ParamApply
Source§impl PartialEq for ParamApply
impl PartialEq for ParamApply
impl StructuralPartialEq for ParamApply
Auto Trait Implementations§
impl Freeze for ParamApply
impl RefUnwindSafe for ParamApply
impl Send for ParamApply
impl Sync for ParamApply
impl Unpin for ParamApply
impl UnsafeUnpin for ParamApply
impl UnwindSafe for ParamApply
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