Struct pipewire_sys::pw_time 
source · #[repr(C)]pub struct pw_time {
    pub now: i64,
    pub rate: spa_fraction,
    pub ticks: u64,
    pub delay: i64,
    pub queued: u64,
}Expand description
A time structure
Fields§
§now: i64< the monotonic time in nanoseconds
rate: spa_fraction< the rate of \a ticks and delay
ticks: u64< the ticks at \a now. This is the current time that the remote end is reading/writing.
delay: i64< delay to device, add to ticks to get the time of the device. Positive for INPUT streams and negative for OUTPUT streams.
queued: u64< data queued in the stream, this is the sum of the size fields in the pw_buffer that are currently queued
Auto Trait Implementations§
impl RefUnwindSafe for pw_time
impl Send for pw_time
impl Sync for pw_time
impl Unpin for pw_time
impl UnwindSafe for pw_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