pub struct RunnerRegistry { /* private fields */ }
Expand description
The set of runners available in a realm’s environment.
Implementations§
Source§impl RunnerRegistry
impl RunnerRegistry
pub fn default() -> Self
pub fn new(runners: HashMap<Name, RunnerRegistration>) -> Self
pub fn from_decl(regs: &Vec<RunnerRegistration>) -> Self
pub fn get_runner(&self, name: &Name) -> Option<&RunnerRegistration>
Trait Implementations§
Source§impl Clone for RunnerRegistry
impl Clone for RunnerRegistry
Source§fn clone(&self) -> RunnerRegistry
fn clone(&self) -> RunnerRegistry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RunnerRegistry
impl RefUnwindSafe for RunnerRegistry
impl Send for RunnerRegistry
impl Sync for RunnerRegistry
impl Unpin for RunnerRegistry
impl UnwindSafe for RunnerRegistry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)