Struct CloneItemStackEvent
pub struct CloneItemStackEvent<'a> {
pub dimension: Dimension,
pub pos: BlockPos,
pub block: &'a str,
pub state: BlockState,
pub include_data: bool,
}Expand description
What BlockPart::clone_item_stack is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: Dimension§pos: BlockPos§block: &'a str§state: BlockState§include_data: boolAuto Trait Implementations§
impl<'a> Freeze for CloneItemStackEvent<'a>
impl<'a> RefUnwindSafe for CloneItemStackEvent<'a>
impl<'a> Send for CloneItemStackEvent<'a>
impl<'a> Sync for CloneItemStackEvent<'a>
impl<'a> Unpin for CloneItemStackEvent<'a>
impl<'a> UnsafeUnpin for CloneItemStackEvent<'a>
impl<'a> UnwindSafe for CloneItemStackEvent<'a>
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