Struct BlockEntityRenderBoundingBoxEvent
pub struct BlockEntityRenderBoundingBoxEvent<'a> {
pub pos: [i32; 3],
pub block: &'a str,
pub state: BlockState,
pub entity: &'a ModBlockEntity,
pub bounds: &'a mut [f32; 6],
}Expand description
What BlockEntityPart::block_entity_render_bounding_box is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§pos: [i32; 3]§block: &'a str§state: BlockState§entity: &'a ModBlockEntity§bounds: &'a mut [f32; 6]Auto Trait Implementations§
impl<'a> !UnwindSafe for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> Freeze for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> RefUnwindSafe for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> Send for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> Sync for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> Unpin for BlockEntityRenderBoundingBoxEvent<'a>
impl<'a> UnsafeUnpin for BlockEntityRenderBoundingBoxEvent<'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