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§impl Debug for BlockStates
impl Debug for BlockStates
Source§impl From<&LazyLock<RegistryTag<BlockKind>>> for BlockStates
impl From<&LazyLock<RegistryTag<BlockKind>>> for BlockStates
Source§impl From<&RegistryTag<BlockKind>> for BlockStates
impl From<&RegistryTag<BlockKind>> for BlockStates
Source§fn from(tag: &RegistryTag<BlockKind>) -> Self
fn from(tag: &RegistryTag<BlockKind>) -> Self
Converts to this type from the input type.
Source§impl From<&[BlockKind]> for BlockStates
impl From<&[BlockKind]> for BlockStates
Source§impl From<BlockKind> for BlockStates
impl From<BlockKind> for BlockStates
Source§impl From<RangeInclusive<u16>> for BlockStates
impl From<RangeInclusive<u16>> for BlockStates
Source§fn from(range: RangeInclusive<BlockStateIntegerRepr>) -> Self
fn from(range: RangeInclusive<BlockStateIntegerRepr>) -> 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 UnsafeUnpin 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