pub struct SpikeConfiguration {
pub state: BlockStateData,
pub can_place_on: BlockPredicate,
pub can_replace: BlockPredicate,
}Fields§
§state: BlockStateData§can_place_on: BlockPredicate§can_replace: BlockPredicateTrait Implementations§
Source§impl Clone for SpikeConfiguration
impl Clone for SpikeConfiguration
Source§fn clone(&self) -> SpikeConfiguration
fn clone(&self) -> SpikeConfiguration
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 SpikeConfiguration
impl !UnwindSafe for SpikeConfiguration
impl Freeze for SpikeConfiguration
impl Send for SpikeConfiguration
impl Sync for SpikeConfiguration
impl Unpin for SpikeConfiguration
impl UnsafeUnpin for SpikeConfiguration
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