pub struct ExtensionPoint {
pub id: &'static str,
pub kind: Kind,
pub summary: &'static str,
pub timing: &'static str,
pub rewrites: &'static str,
pub frequency: Frequency,
pub trust: Trust,
pub defined_in: &'static str,
pub wired_by: &'static [Wiring],
}Expand description
One place something can be plugged in.
Fields§
§id: &'static strStable id. What documentation, configuration and error messages call this point.
kind: Kind§summary: &'static strOne line: what it is for.
timing: &'static strWhen in a turn it happens.
rewrites: &'static strWhat an implementation may change. “nothing” for a pure observer.
frequency: Frequency§trust: Trust§defined_in: &'static strWhere the contract is defined, as a Rust path.
wired_by: &'static [Wiring]Every way a host or extension author gets an implementation in.
Trait Implementations§
Source§impl Clone for ExtensionPoint
impl Clone for ExtensionPoint
impl Copy for ExtensionPoint
Auto Trait Implementations§
impl Forget for ExtensionPoint
impl Freeze for ExtensionPoint
impl Move for ExtensionPoint
impl RefUnwindSafe for ExtensionPoint
impl Send for ExtensionPoint
impl Sync for ExtensionPoint
impl Unpin for ExtensionPoint
impl UnsafeUnpin for ExtensionPoint
impl UnwindSafe for ExtensionPoint
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