pub struct BlockStates {
pub set: HashSet<BlockState>,
}
Fields§
§set: HashSet<BlockState>
Implementations§
Source§impl BlockStates
impl BlockStates
pub fn contains(&self, state: &BlockState) -> bool
Trait Implementations§
Source§impl Add for BlockStates
impl Add for BlockStates
Source§impl Clone for BlockStates
impl Clone for BlockStates
Source§fn clone(&self) -> BlockStates
fn clone(&self) -> BlockStates
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockStates
impl Debug for BlockStates
Source§impl From<Block> for BlockStates
impl From<Block> for BlockStates
Source§impl From<RangeInclusive<u32>> for BlockStates
impl From<RangeInclusive<u32>> for BlockStates
Source§fn from(range: RangeInclusive<u32>) -> Self
fn from(range: RangeInclusive<u32>) -> Self
Converts to this type from the input type.
Source§impl IntoIterator for BlockStates
impl IntoIterator for BlockStates
Auto Trait Implementations§
impl Freeze for BlockStates
impl RefUnwindSafe for BlockStates
impl Send for BlockStates
impl Sync for BlockStates
impl Unpin for BlockStates
impl UnwindSafe for BlockStates
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)