pub struct PainWarning {
pub signal_id: MemoryId,
pub intensity: f32,
pub description: String,
}Expand description
A pain warning matched against the current context.
Fields§
§signal_id: MemoryId§intensity: f32§description: StringTrait Implementations§
Source§impl Clone for PainWarning
impl Clone for PainWarning
Source§fn clone(&self) -> PainWarning
fn clone(&self) -> PainWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PainWarning
impl RefUnwindSafe for PainWarning
impl Send for PainWarning
impl Sync for PainWarning
impl Unpin for PainWarning
impl UnsafeUnpin for PainWarning
impl UnwindSafe for PainWarning
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