pub enum BlockStateValueMatcher {
Exact {
value: String,
},
Range {
min: Option<String>,
max: Option<String>,
},
}Variants§
Implementations§
Source§impl BlockStateValueMatcher
impl BlockStateValueMatcher
pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Trait Implementations§
Source§impl AzaleaRead for BlockStateValueMatcher
impl AzaleaRead for BlockStateValueMatcher
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for BlockStateValueMatcher
impl AzaleaWrite for BlockStateValueMatcher
Source§impl Clone for BlockStateValueMatcher
impl Clone for BlockStateValueMatcher
Source§fn clone(&self) -> BlockStateValueMatcher
fn clone(&self) -> BlockStateValueMatcher
Returns a duplicate 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 BlockStateValueMatcher
impl Debug for BlockStateValueMatcher
Source§impl PartialEq for BlockStateValueMatcher
impl PartialEq for BlockStateValueMatcher
Source§impl Serialize for BlockStateValueMatcher
impl Serialize for BlockStateValueMatcher
impl StructuralPartialEq for BlockStateValueMatcher
Auto Trait Implementations§
impl Freeze for BlockStateValueMatcher
impl RefUnwindSafe for BlockStateValueMatcher
impl Send for BlockStateValueMatcher
impl Sync for BlockStateValueMatcher
impl Unpin for BlockStateValueMatcher
impl UnwindSafe for BlockStateValueMatcher
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