pub enum ButtonMethod {
Restyle,
Relayout,
Animate,
Update,
Skip,
}
Expand description
Sets the Plotly method to be called on click. 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.
Animate
Update
The update method should be used when modifying the data and layout sections of the graph.
Skip
Trait Implementations§
Source§impl Clone for ButtonMethod
impl Clone for ButtonMethod
Source§fn clone(&self) -> ButtonMethod
fn clone(&self) -> ButtonMethod
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ButtonMethod
impl Debug for ButtonMethod
Source§impl Serialize for ButtonMethod
impl Serialize for ButtonMethod
impl Copy for ButtonMethod
Auto Trait Implementations§
impl Freeze for ButtonMethod
impl RefUnwindSafe for ButtonMethod
impl Send for ButtonMethod
impl Sync for ButtonMethod
impl Unpin for ButtonMethod
impl UnwindSafe for ButtonMethod
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