pub struct Time(/* private fields */);Expand description
Stream timing information, updated every graph cycle.
Obtained from Stream::time().
The now field holds the timestamp of the last update;
compare it with pw_stream_get_nsec() to interpolate the current position.
All timing values are relative to the stream’s rate.
For a detailed description, see pw_time’s documentation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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