pub struct TryFromSpellError {
pub defindex: u32,
pub value: Spell,
}
Expand description
An error when attempting to convert a spell into a sub-set of spells (footprints or paint).
Fields§
§defindex: u32
The defindex that was attempted to be converted.
value: Spell
The spell that was attempted to be converted.
Trait Implementations§
Source§impl Clone for TryFromSpellError
impl Clone for TryFromSpellError
Source§fn clone(&self) -> TryFromSpellError
fn clone(&self) -> TryFromSpellError
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 TryFromSpellError
impl Debug for TryFromSpellError
Source§impl Display for TryFromSpellError
impl Display for TryFromSpellError
Source§impl Error for TryFromSpellError
impl Error for TryFromSpellError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Hash for TryFromSpellError
impl Hash for TryFromSpellError
Source§impl PartialEq for TryFromSpellError
impl PartialEq for TryFromSpellError
impl Copy for TryFromSpellError
impl Eq for TryFromSpellError
impl StructuralPartialEq for TryFromSpellError
Auto Trait Implementations§
impl Freeze for TryFromSpellError
impl RefUnwindSafe for TryFromSpellError
impl Send for TryFromSpellError
impl Sync for TryFromSpellError
impl Unpin for TryFromSpellError
impl UnwindSafe for TryFromSpellError
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