pub struct BlockPredicate {
pub blocks: Option<Identifier>,
pub state: &'static [(&'static str, &'static str)],
}Expand description
Predicate for checking block properties.
Fields§
§blocks: Option<Identifier>§state: &'static [(&'static str, &'static str)]Trait Implementations§
Source§impl Clone for BlockPredicate
impl Clone for BlockPredicate
Source§fn clone(&self) -> BlockPredicate
fn clone(&self) -> BlockPredicate
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 Freeze for BlockPredicate
impl RefUnwindSafe for BlockPredicate
impl Send for BlockPredicate
impl Sync for BlockPredicate
impl Unpin for BlockPredicate
impl UnsafeUnpin for BlockPredicate
impl UnwindSafe for BlockPredicate
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