Struct mod_mgmt::AppCrateRef
source · pub struct AppCrateRef { /* private fields */ }Expand description
An application crate that has been loaded into a CrateNamespace.
This type auto-derefs into the application’s StrongCrateRef.
When dropped, the application crate will be removed
from the CrateNamespace into which it was originally loaded.
Trait Implementations§
source§impl Deref for AppCrateRef
impl Deref for AppCrateRef
§type Target = CowArc<LoadedCrate>
type Target = CowArc<LoadedCrate>
The resulting type after dereferencing.
source§fn deref(&self) -> &StrongCrateRef
fn deref(&self) -> &StrongCrateRef
Dereferences the value.
Auto Trait Implementations§
impl !RefUnwindSafe for AppCrateRef
impl Send for AppCrateRef
impl Sync for AppCrateRef
impl Unpin for AppCrateRef
impl !UnwindSafe for AppCrateRef
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