Struct Capability
pub struct Capability<T>where
T: ?Sized,{ /* private fields */ }Expand description
A capability’s handler, with who answered: a mod’s provider or the game’s own.
Implementations§
§impl<T> Capability<T>where
T: ?Sized,
impl<T> Capability<T>where
T: ?Sized,
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Capability<T>where
T: ?Sized,
impl<T> RefUnwindSafe for Capability<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Capability<T>
impl<T> Sync for Capability<T>
impl<T> Unpin for Capability<T>where
T: ?Sized,
impl<T> UnsafeUnpin for Capability<T>where
T: ?Sized,
impl<T> UnwindSafe for Capability<T>where
T: UnwindSafe + ?Sized,
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