Struct pdb::SourceSlice[][src]

pub struct SourceSlice {
    pub offset: u64,
    pub size: usize,
}

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]

impl Copy for SourceSlice[src]

impl Debug for SourceSlice[src]

impl Eq for SourceSlice[src]

impl PartialEq<SourceSlice> for SourceSlice[src]

impl StructuralEq for SourceSlice[src]

impl StructuralPartialEq for SourceSlice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.