pub struct FrameSpan {
pub start: usize,
pub end: usize,
pub content_size: Option<u64>,
pub skippable: bool,
}Expand description
Location of one frame inside a buffer of concatenated frames.
Fields§
§start: usizeOffset of the frame’s first byte.
end: usizeOffset just past the frame.
content_size: Option<u64>Declared content size (None for skippable frames or frames without one).
skippable: boolTrue for skippable frames (no content).
Trait Implementations§
impl Copy for FrameSpan
impl Eq for FrameSpan
impl StructuralPartialEq for FrameSpan
Auto Trait Implementations§
impl Freeze for FrameSpan
impl RefUnwindSafe for FrameSpan
impl Send for FrameSpan
impl Sync for FrameSpan
impl Unpin for FrameSpan
impl UnsafeUnpin for FrameSpan
impl UnwindSafe for FrameSpan
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