pub enum SliderMethod {
Restyle,
Relayout,
Update,
Animate,
Skip,
}Expand description
Sets the Plotly method to be called on for each slider step. If the skip
method is used, the API updatemenu will function as normal but will perform
no API calls and will not bind automatically to state updates. This may be
used to create a component interface and attach to updatemenu events
manually via JavaScript.
Variants§
Restyle
The restyle method should be used when modifying the data and data attributes of the graph
Relayout
The relayout method should be used when modifying the layout attributes of the graph.
Update
The update method should be used when modifying the data and layout sections of the graph.
Animate
Animates a sequence of frames
Skip
With skip method, the API updatemenu will function as normal but will
perform no API calls and will not bind automatically to state updates.
This may be used to create a component interface and attach to
updatemenu events manually via JavaScript.
Trait Implementations§
Source§impl Clone for SliderMethod
impl Clone for SliderMethod
Source§fn clone(&self) -> SliderMethod
fn clone(&self) -> SliderMethod
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SliderMethod
impl Debug for SliderMethod
Source§impl PartialEq for SliderMethod
impl PartialEq for SliderMethod
Source§impl Serialize for SliderMethod
impl Serialize for SliderMethod
impl Copy for SliderMethod
impl StructuralPartialEq for SliderMethod
Auto Trait Implementations§
impl Freeze for SliderMethod
impl RefUnwindSafe for SliderMethod
impl Send for SliderMethod
impl Sync for SliderMethod
impl Unpin for SliderMethod
impl UnwindSafe for SliderMethod
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)