Struct BlockScreenEffectDrawEvent
pub struct BlockScreenEffectDrawEvent<'a> {
pub effect: BlockScreenEffect,
pub state: BlockState,
pub pos: BlockPos,
pub partial_tick: f32,
pub hide_gui: bool,
pub draw: &'a mut dyn CameraDrawContext,
pub replace_vanilla: bool,
}Expand description
What Hooks::block_screen_effect_draw is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§effect: BlockScreenEffect§state: BlockState§pos: BlockPos§partial_tick: f32§hide_gui: bool§draw: &'a mut dyn CameraDrawContext§replace_vanilla: boolAuto Trait Implementations§
impl<'a> !RefUnwindSafe for BlockScreenEffectDrawEvent<'a>
impl<'a> !Send for BlockScreenEffectDrawEvent<'a>
impl<'a> !Sync for BlockScreenEffectDrawEvent<'a>
impl<'a> !UnwindSafe for BlockScreenEffectDrawEvent<'a>
impl<'a> Freeze for BlockScreenEffectDrawEvent<'a>
impl<'a> Unpin for BlockScreenEffectDrawEvent<'a>
impl<'a> UnsafeUnpin for BlockScreenEffectDrawEvent<'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