pub struct Layer {
pub clip: Arc<Clip>,
pub start: f32,
pub speed: f32,
pub weight: f32,
}Expand description
A clip playing.
Fields§
§clip: Arc<Clip>§start: f32When it started, in the rig’s seconds.
speed: f32§weight: f32How much of it shows (0–1); fades lay clips over each other.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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