Struct pdb::SourceSlice
source · [−]Expand description
Represents an offset + size of the source file.
The multi-stream file implementation (used by pdb::PDB
) determines which byte ranges it needs
to satisfy its requests, and it describes those requests as a &[SourceSlice]
.
Fields
offset: u64
Offset into the source file.
size: usize
Size of the slice.
Trait Implementations
sourceimpl Clone for SourceSlice
impl Clone for SourceSlice
sourcefn clone(&self) -> SourceSlice
fn clone(&self) -> SourceSlice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SourceSlice
impl Debug for SourceSlice
sourceimpl PartialEq<SourceSlice> for SourceSlice
impl PartialEq<SourceSlice> for SourceSlice
sourcefn eq(&self, other: &SourceSlice) -> bool
fn eq(&self, other: &SourceSlice) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SourceSlice) -> bool
fn ne(&self, other: &SourceSlice) -> bool
This method tests for !=
.
impl Copy for SourceSlice
impl Eq for SourceSlice
impl StructuralEq for SourceSlice
impl StructuralPartialEq for SourceSlice
Auto Trait Implementations
impl RefUnwindSafe for SourceSlice
impl Send for SourceSlice
impl Sync for SourceSlice
impl Unpin for SourceSlice
impl UnwindSafe for SourceSlice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more