#[non_exhaustive]pub enum Wiring {
Builder(&'static str),
Registrar(&'static str),
Script,
Carried {
by: &'static str,
via: &'static str,
},
Process(&'static str),
Module(&'static str),
Settings(&'static str),
}Expand description
How an implementation of a point reaches the engine.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Builder(&'static str)
runtime::agent::Builder::<method>.
Registrar(&'static str)
runtime::plugin::Registrar::<method>; a host reaches it through Builder::plugin.
Script
One of the points script_host::bindings::BINDABLE_POINTS binds.
Carried
Set on the object another point wires.
Process(&'static str)
Once per process, by whoever assembles models or settings.
Module(&'static str)
A module’s own builder.
Settings(&'static str)
A settings key.
Implementations§
Trait Implementations§
impl Copy for Wiring
impl Eq for Wiring
impl StructuralPartialEq for Wiring
Auto Trait Implementations§
impl Forget for Wiring
impl Freeze for Wiring
impl Move for Wiring
impl RefUnwindSafe for Wiring
impl Send for Wiring
impl Sync for Wiring
impl Unpin for Wiring
impl UnsafeUnpin for Wiring
impl UnwindSafe for Wiring
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