pub trait RefundWeight {
// Required method
fn refund(&mut self, weight: Weight);
}Expand description
A type that can handle weight refunds.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".