Struct ScreenClickEvent
pub struct ScreenClickEvent<'a> {
pub block: &'a str,
pub data: &'a [i32],
pub at: [f32; 2],
pub right: bool,
}Expand description
What BlockEntityPart::screen_click is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§block: &'a str§data: &'a [i32]§at: [f32; 2]§right: boolAuto Trait Implementations§
impl<'a> Freeze for ScreenClickEvent<'a>
impl<'a> RefUnwindSafe for ScreenClickEvent<'a>
impl<'a> Send for ScreenClickEvent<'a>
impl<'a> Sync for ScreenClickEvent<'a>
impl<'a> Unpin for ScreenClickEvent<'a>
impl<'a> UnsafeUnpin for ScreenClickEvent<'a>
impl<'a> UnwindSafe for ScreenClickEvent<'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