pub struct Jukebox {
pub has_record: bool,
}Fields§
§has_record: boolTrait Implementations§
Source§impl BlockTrait for Jukebox
impl BlockTrait for Jukebox
fn behavior(&self) -> BlockBehavior
Source§fn as_block_state(&self) -> BlockState
fn as_block_state(&self) -> BlockState
Convert the block struct to a
BlockState. Read moreSource§fn as_registry_block(&self) -> BlockKind
fn as_registry_block(&self) -> BlockKind
Convert the block struct to a [
BlockKind]. Read moreSource§impl From<Jukebox> for BlockState
impl From<Jukebox> for BlockState
impl Copy for Jukebox
impl StructuralPartialEq for Jukebox
Auto Trait Implementations§
impl Freeze for Jukebox
impl RefUnwindSafe for Jukebox
impl Send for Jukebox
impl Sync for Jukebox
impl Unpin for Jukebox
impl UnwindSafe for Jukebox
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