Struct asefile::ExternalFilesById
source · pub struct ExternalFilesById(/* private fields */);
Expand description
A map of ExternalFileId values to ExternalFile instances.
Implementations§
source§impl ExternalFilesById
impl ExternalFilesById
sourcepub fn map(&self) -> &HashMap<ExternalFileId, ExternalFile>
pub fn map(&self) -> &HashMap<ExternalFileId, ExternalFile>
Returns a reference to the underlying HashMap value.
sourcepub fn get(&self, id: &ExternalFileId) -> Option<&ExternalFile>
pub fn get(&self, id: &ExternalFileId) -> Option<&ExternalFile>
Get a reference to an ExternalFile from an ExternalFileId, if the entry exists.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExternalFilesById
impl RefUnwindSafe for ExternalFilesById
impl Send for ExternalFilesById
impl Sync for ExternalFilesById
impl Unpin for ExternalFilesById
impl UnwindSafe for ExternalFilesById
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more