pub struct GateContractRegistration {
pub contract: &'static dyn GateContract,
}Expand description
Inventory-collected pointer to a GateContract implementation
shipped by a gate-insertion pass. Library makers introducing a
new gate emit one inventory submission alongside their pass.
Fields§
§contract: &'static dyn GateContractStatic pointer to the contract impl.
Trait Implementations§
impl Collect for GateContractRegistration
Auto Trait Implementations§
impl !RefUnwindSafe for GateContractRegistration
impl !UnwindSafe for GateContractRegistration
impl Freeze for GateContractRegistration
impl Send for GateContractRegistration
impl Sync for GateContractRegistration
impl Unpin for GateContractRegistration
impl UnsafeUnpin for GateContractRegistration
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