pub struct BufferedSegment {
pub segment: Segment,
pub data: Bytes,
pub start_time: f64,
pub end_time: f64,
pub consumed: bool,
}Expand description
Buffered segment data
Fields§
§segment: SegmentSegment metadata
data: BytesRaw segment data
start_time: f64Start time in the timeline
end_time: f64End time in the timeline
consumed: boolHas this segment been consumed
Trait Implementations§
Source§impl Clone for BufferedSegment
impl Clone for BufferedSegment
Source§fn clone(&self) -> BufferedSegment
fn clone(&self) -> BufferedSegment
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 BufferedSegment
impl RefUnwindSafe for BufferedSegment
impl Send for BufferedSegment
impl Sync for BufferedSegment
impl Unpin for BufferedSegment
impl UnsafeUnpin for BufferedSegment
impl UnwindSafe for BufferedSegment
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