pub struct NoWeight;
Expand description
Represents a dummy version of ConsolidatableWeight
.
NoWeight
is a unit struct that doesn’t store any data. It is used as a
placeholder or a default implementation in scenarios where a weight
component is required by the interface but not actually needed for the
specific use case.
Trait Implementations§
source§impl ConsoliableWeight for NoWeight
impl ConsoliableWeight for NoWeight
source§impl PartialEq for NoWeight
impl PartialEq for NoWeight
impl Copy for NoWeight
impl Eq for NoWeight
impl StructuralPartialEq for NoWeight
Auto Trait Implementations§
impl RefUnwindSafe for NoWeight
impl Send for NoWeight
impl Sync for NoWeight
impl Unpin for NoWeight
impl UnwindSafe for NoWeight
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