Struct ObjectMapFile

struct ObjectMapFile<'data> { ... }

An object file name in an ObjectMap.

Implementations

impl<'data> ObjectMapFile<'data>

fn path(self: &Self) -> &'data [u8]

Get the path to the file containing the object.

fn member(self: &Self) -> Option<&'data [u8]>

If the file is an archive, get the name of the member containing the object.

impl<'data> Clone for ObjectMapFile<'data>

fn clone(self: &Self) -> ObjectMapFile<'data>

impl<'data> Copy for ObjectMapFile<'data>

impl<'data> Debug for ObjectMapFile<'data>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<'data> Eq for ObjectMapFile<'data>

impl<'data> Freeze for ObjectMapFile<'data>

impl<'data> Hash for ObjectMapFile<'data>

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl<'data> PartialEq for ObjectMapFile<'data>

fn eq(self: &Self, other: &ObjectMapFile<'data>) -> bool

impl<'data> RefUnwindSafe for ObjectMapFile<'data>

impl<'data> Send for ObjectMapFile<'data>

impl<'data> StructuralPartialEq for ObjectMapFile<'data>

impl<'data> Sync for ObjectMapFile<'data>

impl<'data> Unpin for ObjectMapFile<'data>

impl<'data> UnwindSafe for ObjectMapFile<'data>

impl<T> Any for ObjectMapFile<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ObjectMapFile<'data>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ObjectMapFile<'data>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ObjectMapFile<'data>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ObjectMapFile<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ObjectMapFile<'data>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ObjectMapFile<'data>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ObjectMapFile<'data>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ObjectMapFile<'data>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>