pub struct Storyboard(/* private fields */);Expand description
Sequences one or more transitions on variables.
Implementations§
Source§impl Storyboard
impl Storyboard
Sourcepub fn add_transition(
&self,
variable: &Variable,
transition: &Transition,
) -> Result<Keyframe>
pub fn add_transition( &self, variable: &Variable, transition: &Transition, ) -> Result<Keyframe>
Adds a transition on a variable and returns a keyframe marking its end.
Sourcepub fn add_transition_at_keyframe(
&self,
variable: &Variable,
transition: &Transition,
keyframe: Keyframe,
) -> Result<()>
pub fn add_transition_at_keyframe( &self, variable: &Variable, transition: &Transition, keyframe: Keyframe, ) -> Result<()>
Adds a transition that starts at the specified keyframe.
Trait Implementations§
Source§impl Clone for Storyboard
impl Clone for Storyboard
Source§fn clone(&self) -> Storyboard
fn clone(&self) -> Storyboard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for Storyboard
impl !Sync for Storyboard
impl Freeze for Storyboard
impl RefUnwindSafe for Storyboard
impl Unpin for Storyboard
impl UnsafeUnpin for Storyboard
impl UnwindSafe for Storyboard
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