[−][src]Struct wad::Wad
Methods
impl Wad
[src]
pub fn kind(&self) -> Kind
[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 IdIterator<'a>pub fn id_iter(&self) -> IdIterator
[src]
ⓘImportant traits for IdIterator<'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, Error>
[src]
pub unsafe fn entry_unchecked(&self, index: usize) -> Result<Entry, Error>
[src]
pub fn entry(&self, index: usize) -> Result<Entry, Error>
[src]
ⓘImportant traits for EntryIterator<'a>pub fn entry_iter(&self) -> EntryIterator
[src]
ⓘImportant traits for EntryIterator<'a>
pub fn by_id(
&self,
id: impl Into<EntryId>
) -> Option<&[u8]>
[src]
&self,
id: impl Into<EntryId>
) -> Option<&[u8]>
pub fn slice(
&self,
slice_index: impl SliceIndex<[RawEntry], Output = [RawEntry]>
) -> WadSlice
[src]
&self,
slice_index: impl SliceIndex<[RawEntry], Output = [RawEntry]>
) -> WadSlice
pub fn as_slice(&self) -> WadSlice
[src]
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, 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,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,