pub struct UidRegistry { /* private fields */ }Implementations§
Source§impl UidRegistry
impl UidRegistry
pub fn register(&mut self, path: impl Into<String>, uid: impl Into<String>)
pub fn get(&self, path: &str) -> Option<&str>
pub fn path_for_uid(&self, uid: &str) -> Option<&str>
pub fn iter(&self) -> impl Iterator<Item = &AssetEntry>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for UidRegistry
impl Clone for UidRegistry
Source§impl Debug for UidRegistry
impl Debug for UidRegistry
Auto Trait Implementations§
impl Freeze for UidRegistry
impl RefUnwindSafe for UidRegistry
impl Send for UidRegistry
impl Sync for UidRegistry
impl Unpin for UidRegistry
impl UnsafeUnpin for UidRegistry
impl UnwindSafe for UidRegistry
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