Struct BeaconStateChangeEvent
pub struct BeaconStateChangeEvent<'a> {
pub dimension: &'a str,
pub pos: [i32; 3],
pub active: bool,
}Expand description
What Hooks::beacon_state_change is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§pos: [i32; 3]§active: boolAuto Trait Implementations§
impl<'a> Freeze for BeaconStateChangeEvent<'a>
impl<'a> RefUnwindSafe for BeaconStateChangeEvent<'a>
impl<'a> Send for BeaconStateChangeEvent<'a>
impl<'a> Sync for BeaconStateChangeEvent<'a>
impl<'a> Unpin for BeaconStateChangeEvent<'a>
impl<'a> UnsafeUnpin for BeaconStateChangeEvent<'a>
impl<'a> UnwindSafe for BeaconStateChangeEvent<'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