pub struct AnimationOptions { /* private fields */ }Expand description
Animation configuration options Based on actual Plotly.js animation API from animation_attributes.js
Implementations§
Source§impl AnimationOptions
impl AnimationOptions
Sourcepub fn frame(self, value: FrameSettings) -> Self
pub fn frame(self, value: FrameSettings) -> Self
Frame animation settings
Sourcepub fn transition(self, value: TransitionSettings) -> Self
pub fn transition(self, value: TransitionSettings) -> Self
Transition animation settings
Sourcepub fn mode(self, value: AnimationMode) -> Self
pub fn mode(self, value: AnimationMode) -> Self
Animation mode
Sourcepub fn direction(self, value: AnimationDirection) -> Self
pub fn direction(self, value: AnimationDirection) -> Self
Animation direction
Sourcepub fn fromcurrent(self, value: bool) -> Self
pub fn fromcurrent(self, value: bool) -> Self
Play frames starting at the current frame instead of the beginning
Trait Implementations§
Source§impl Clone for AnimationOptions
impl Clone for AnimationOptions
Source§fn clone(&self) -> AnimationOptions
fn clone(&self) -> AnimationOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationOptions
impl Debug for AnimationOptions
Source§impl Default for AnimationOptions
impl Default for AnimationOptions
Auto Trait Implementations§
impl Freeze for AnimationOptions
impl RefUnwindSafe for AnimationOptions
impl Send for AnimationOptions
impl Sync for AnimationOptions
impl Unpin for AnimationOptions
impl UnwindSafe for AnimationOptions
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)