pub struct Block {
pub presented: i64,
pub samples: usize,
pub channels: usize,
pub media_reset: bool,
}Expand description
One frame’s block of a talker’s samples, as a BlockSource fills
it.
Fields§
§presented: i64When its first sample is presented, in gPTP nanoseconds.
samples: usizeIts samples on each channel.
channels: usizeThe format’s channels, which its frames have.
media_reset: boolThe mr bit it goes out with, which changes as the stream starts again on a new timeline.
Trait Implementations§
impl Copy for Block
impl Eq for Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Forget for Block
impl Freeze for Block
impl Move for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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