Struct SettingChangedEvent
pub struct SettingChangedEvent<'a> {
pub mod_id: &'a str,
pub key: &'a str,
}Expand description
What Hooks::setting_changed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§mod_id: &'a str§key: &'a strAuto Trait Implementations§
impl<'a> Freeze for SettingChangedEvent<'a>
impl<'a> RefUnwindSafe for SettingChangedEvent<'a>
impl<'a> Send for SettingChangedEvent<'a>
impl<'a> Sync for SettingChangedEvent<'a>
impl<'a> Unpin for SettingChangedEvent<'a>
impl<'a> UnsafeUnpin for SettingChangedEvent<'a>
impl<'a> UnwindSafe for SettingChangedEvent<'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