pub struct ParallelTimeline { /* private fields */ }Expand description
Implementations§
Source§impl ParallelTimeline
impl ParallelTimeline
Sourcepub fn add_child<T: Timeline>(&mut self, child: &T) -> bool
pub fn add_child<T: Timeline>(&mut self, child: &T) -> bool
Add a child timeline. The group’s collection takes its own reference, so
child may be dropped afterwards. Returns false on a type mismatch.
Sourcepub fn child_count(&self) -> Option<u32>
pub fn child_count(&self) -> Option<u32>
Number of child timelines, or None if the handle is not a timeline group
(should not happen for a live handle).
Trait Implementations§
Source§impl AsComponent for ParallelTimeline
impl AsComponent for ParallelTimeline
Source§fn component_raw(&self) -> *mut c_void
fn component_raw(&self) -> *mut c_void
Borrowed
Noesis::BaseComponent* for self.Source§impl Default for ParallelTimeline
impl Default for ParallelTimeline
Source§impl Drop for ParallelTimeline
impl Drop for ParallelTimeline
impl Send for ParallelTimeline
Source§impl Timeline for ParallelTimeline
impl Timeline for ParallelTimeline
Source§fn timeline_raw(&self) -> *mut c_void
fn timeline_raw(&self) -> *mut c_void
Borrowed
Noesis::Timeline* for self.Source§fn set_duration_secs(&mut self, seconds: f64) -> bool
fn set_duration_secs(&mut self, seconds: f64) -> bool
Set the single-pass duration in seconds.
Source§fn set_duration_auto(&mut self) -> bool
fn set_duration_auto(&mut self) -> bool
Set
Duration="Automatic" (resolved from the content, e.g. key frames).Source§fn set_duration_forever(&mut self) -> bool
fn set_duration_forever(&mut self) -> bool
Set
Duration="Forever".Source§fn duration_secs(&self) -> Option<f64>
fn duration_secs(&self) -> Option<f64>
Read the configured single-pass duration in seconds, or
None if the
duration is Automatic / Forever (not a resolved TimeSpan).Source§fn set_begin_time_secs(&mut self, seconds: f64) -> bool
fn set_begin_time_secs(&mut self, seconds: f64) -> bool
Delay before the timeline begins, in seconds.
Source§fn set_auto_reverse(&mut self, value: bool) -> bool
fn set_auto_reverse(&mut self, value: bool) -> bool
Play forwards then backwards each iteration when
true.Source§fn set_speed_ratio(&mut self, value: f32) -> bool
fn set_speed_ratio(&mut self, value: f32) -> bool
Rate at which time progresses relative to the parent (default
1.0).Source§fn set_fill_behavior(&mut self, behavior: FillBehavior) -> bool
fn set_fill_behavior(&mut self, behavior: FillBehavior) -> bool
Behaviour once the active period ends (hold the end value or release it).
Source§fn set_repeat_count(&mut self, count: f32) -> bool
fn set_repeat_count(&mut self, count: f32) -> bool
Repeat a fixed number of (possibly fractional) iterations.
Source§fn set_repeat_duration_secs(&mut self, seconds: f64) -> bool
fn set_repeat_duration_secs(&mut self, seconds: f64) -> bool
Repeat for a fixed wall-clock duration, in seconds.
Source§fn set_repeat_forever(&mut self) -> bool
fn set_repeat_forever(&mut self) -> bool
Repeat forever.
Auto Trait Implementations§
impl !Sync for ParallelTimeline
impl Freeze for ParallelTimeline
impl RefUnwindSafe for ParallelTimeline
impl Unpin for ParallelTimeline
impl UnsafeUnpin for ParallelTimeline
impl UnwindSafe for ParallelTimeline
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