pub struct BedRule {
pub can_set_spawn: &'static str,
pub can_sleep: &'static str,
pub explodes: bool,
pub error_message_key: Option<&'static str>,
}Fields§
§can_set_spawn: &'static str§can_sleep: &'static str§explodes: bool§error_message_key: Option<&'static str>Trait Implementations§
Auto Trait Implementations§
impl Freeze for BedRule
impl RefUnwindSafe for BedRule
impl Send for BedRule
impl Sync for BedRule
impl Unpin for BedRule
impl UnsafeUnpin for BedRule
impl UnwindSafe for BedRule
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