[−][src]Struct wad::WadSlice
Methods
impl<'a> WadSlice<'a>
[src]
pub fn len(&self) -> usize
[src]
pub fn entry_id_from_raw_entry(raw_entry: &RawEntry) -> EntryId
[src]
pub unsafe fn entry_id_unchecked(&self, index: usize) -> EntryId
[src]
pub fn entry_id(&self, index: usize) -> Option<EntryId>
[src]
ⓘImportant traits for SliceIdIterator<'a>pub fn id_iter(&self) -> SliceIdIterator
[src]
ⓘImportant traits for SliceIdIterator<'a>
pub fn index_of(
&self,
id: impl Into<EntryId>
) -> Option<usize>
[src]
&self,
id: impl Into<EntryId>
) -> Option<usize>
pub fn entry_from_raw_entry(
&self,
raw_entry: &RawEntry
) -> Result<Entry<'a>, Error>
[src]
&self,
raw_entry: &RawEntry
) -> Result<Entry<'a>, Error>
pub unsafe fn entry_unchecked(&self, index: usize) -> Result<Entry<'a>, Error>
[src]
pub fn entry(&self, index: usize) -> Result<Entry<'a>, Error>
[src]
ⓘImportant traits for SliceEntryIterator<'a>pub fn entry_iter(&self) -> SliceEntryIterator
[src]
ⓘImportant traits for SliceEntryIterator<'a>
pub fn by_id(
&self,
id: impl Into<EntryId>
) -> Option<&'a [u8]>
[src]
&self,
id: impl Into<EntryId>
) -> Option<&'a [u8]>
pub fn slice(
&self,
slice_index: impl SliceIndex<[RawEntry], Output = [RawEntry]>
) -> WadSlice<'a>
[src]
&self,
slice_index: impl SliceIndex<[RawEntry], Output = [RawEntry]>
) -> WadSlice<'a>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,