pub struct TurnWarning {
pub phase: TurnPhase,
pub error: String,
}Expand description
One non-fatal failure recorded during a turn (the turn still returns a usable TurnResult).
Fields§
§phase: TurnPhase§error: StringTrait Implementations§
Source§impl Clone for TurnWarning
impl Clone for TurnWarning
Source§fn clone(&self) -> TurnWarning
fn clone(&self) -> TurnWarning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TurnWarning
impl Debug for TurnWarning
Source§impl PartialEq for TurnWarning
impl PartialEq for TurnWarning
impl Eq for TurnWarning
impl StructuralPartialEq for TurnWarning
Auto Trait Implementations§
impl Freeze for TurnWarning
impl RefUnwindSafe for TurnWarning
impl Send for TurnWarning
impl Sync for TurnWarning
impl Unpin for TurnWarning
impl UnsafeUnpin for TurnWarning
impl UnwindSafe for TurnWarning
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