pub struct TimedEvent {
pub sample_offset: usize,
pub event: GraphEvent,
}Expand description
A GraphEvent scheduled at sample_offset from the start of the current process block (or render segment).
Fields§
§sample_offset: usizeSample index within the block where event should fire.
event: GraphEventThe payload delivered to the graph at that offset.
Trait Implementations§
Source§impl Clone for TimedEvent
impl Clone for TimedEvent
Source§fn clone(&self) -> TimedEvent
fn clone(&self) -> TimedEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TimedEvent
impl RefUnwindSafe for TimedEvent
impl Send for TimedEvent
impl Sync for TimedEvent
impl Unpin for TimedEvent
impl UnsafeUnpin for TimedEvent
impl UnwindSafe for TimedEvent
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