Struct pdb::SourceSlice [−][src]
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
impl Clone for SourceSlice
[src]
fn clone(&self) -> SourceSlice
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SourceSlice
[src]
impl Debug for SourceSlice
[src]
impl Eq for SourceSlice
[src]
impl PartialEq<SourceSlice> for SourceSlice
[src]
fn eq(&self, other: &SourceSlice) -> bool
[src]
fn ne(&self, other: &SourceSlice) -> bool
[src]
impl StructuralEq for SourceSlice
[src]
impl StructuralPartialEq for SourceSlice
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,