pub struct WeightedBlockState {
pub data: BlockStateData,
pub weight: i32,
}Expand description
Weighted block-state provider entry.
Fields§
§data: BlockStateData§weight: i32Trait Implementations§
Source§impl Clone for WeightedBlockState
impl Clone for WeightedBlockState
Source§fn clone(&self) -> WeightedBlockState
fn clone(&self) -> WeightedBlockState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for WeightedBlockState
impl !UnwindSafe for WeightedBlockState
impl Freeze for WeightedBlockState
impl Send for WeightedBlockState
impl Sync for WeightedBlockState
impl Unpin for WeightedBlockState
impl UnsafeUnpin for WeightedBlockState
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