Struct GameRuleChangedEvent
pub struct GameRuleChangedEvent<'a> {
pub rule: &'a str,
pub value: GameRuleValue,
pub actor: Option<&'a GameRuleActor<'a>>,
}Expand description
What Hooks::game_rule_changed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§rule: &'a str§value: GameRuleValue§actor: Option<&'a GameRuleActor<'a>>Auto Trait Implementations§
impl<'a> Freeze for GameRuleChangedEvent<'a>
impl<'a> RefUnwindSafe for GameRuleChangedEvent<'a>
impl<'a> Send for GameRuleChangedEvent<'a>
impl<'a> Sync for GameRuleChangedEvent<'a>
impl<'a> Unpin for GameRuleChangedEvent<'a>
impl<'a> UnsafeUnpin for GameRuleChangedEvent<'a>
impl<'a> UnwindSafe for GameRuleChangedEvent<'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