pub struct SliceRef {
pub file_byte_start: u64,
pub file_byte_end: u64,
pub drop_id: DropId,
pub drop_byte_start: u32,
pub drop_byte_len: u32,
}Expand description
One entry in a slice map: maps a byte range of the file to a byte range of a drop’s plaintext.
Fields§
§file_byte_start: u64§file_byte_end: u64§drop_id: DropId§drop_byte_start: u32§drop_byte_len: u32Trait Implementations§
impl Copy for SliceRef
impl Eq for SliceRef
impl StructuralPartialEq for SliceRef
Auto Trait Implementations§
impl Freeze for SliceRef
impl RefUnwindSafe for SliceRef
impl Send for SliceRef
impl Sync for SliceRef
impl Unpin for SliceRef
impl UnsafeUnpin for SliceRef
impl UnwindSafe for SliceRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more