pub struct FrameRead {
pub spec: FrameSpec,
pub selected: Range<usize>,
}Expand description
One complete frame to decode, followed by a slice selected by the caller.
Fields§
§spec: FrameSpecDescriptor to pass to the decoder.
selected: Range<usize>Half-open range inside the fully decoded frame.
Trait Implementations§
impl Eq for FrameRead
impl StructuralPartialEq for FrameRead
Auto Trait Implementations§
impl Freeze for FrameRead
impl RefUnwindSafe for FrameRead
impl Send for FrameRead
impl Sync for FrameRead
impl Unpin for FrameRead
impl UnsafeUnpin for FrameRead
impl UnwindSafe for FrameRead
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