pub struct Segment<'data, 'file, R: ReadRef<'data> = &'data [u8]> where
'data: 'file, { /* private fields */ }
Expand description
A segment of a File
.
Trait Implementations
sourceimpl<'data, 'file, R: ReadRef<'data>> ObjectSegment<'data> for Segment<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> ObjectSegment<'data> for Segment<'data, 'file, R>
Auto Trait Implementations
impl<'data, 'file, R> RefUnwindSafe for Segment<'data, 'file, R> where
R: RefUnwindSafe,
impl<'data, 'file, R> Send for Segment<'data, 'file, R> where
R: Sync,
impl<'data, 'file, R> Sync for Segment<'data, 'file, R> where
R: Sync,
impl<'data, 'file, R> Unpin for Segment<'data, 'file, R> where
'data: 'file,
impl<'data, 'file, R> UnwindSafe for Segment<'data, 'file, R> where
R: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more