Struct CanContinueSleepingEvent
pub struct CanContinueSleepingEvent<'a> {
pub entity: u128,
pub name: &'a str,
pub kind: &'a str,
pub pos: [i32; 3],
pub problem: Option<SleepProblem>,
}Expand description
What Hooks::can_continue_sleeping is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: u128§name: &'a str§kind: &'a str§pos: [i32; 3]§problem: Option<SleepProblem>Auto Trait Implementations§
impl<'a> Freeze for CanContinueSleepingEvent<'a>
impl<'a> RefUnwindSafe for CanContinueSleepingEvent<'a>
impl<'a> Send for CanContinueSleepingEvent<'a>
impl<'a> Sync for CanContinueSleepingEvent<'a>
impl<'a> Unpin for CanContinueSleepingEvent<'a>
impl<'a> UnsafeUnpin for CanContinueSleepingEvent<'a>
impl<'a> UnwindSafe for CanContinueSleepingEvent<'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