pub struct SpellIdConversionError {
value: u32,
source: TryFromIntError,
}Expand description
Returned when a runtime SpellIdx exceeds the database int4 range.
Fields§
§value: u32§source: TryFromIntErrorImplementations§
Trait Implementations§
Source§impl Clone for SpellIdConversionError
impl Clone for SpellIdConversionError
Source§fn clone(&self) -> SpellIdConversionError
fn clone(&self) -> SpellIdConversionError
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 SpellIdConversionError
impl Debug for SpellIdConversionError
Source§impl Display for SpellIdConversionError
impl Display for SpellIdConversionError
Source§impl Error for SpellIdConversionError
impl Error for SpellIdConversionError
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 PartialEq for SpellIdConversionError
impl PartialEq for SpellIdConversionError
impl Copy for SpellIdConversionError
impl Eq for SpellIdConversionError
impl StructuralPartialEq for SpellIdConversionError
Auto Trait Implementations§
impl Freeze for SpellIdConversionError
impl RefUnwindSafe for SpellIdConversionError
impl Send for SpellIdConversionError
impl Sync for SpellIdConversionError
impl Unpin for SpellIdConversionError
impl UnsafeUnpin for SpellIdConversionError
impl UnwindSafe for SpellIdConversionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> SpecConfig for T
impl<T> SpecConfig for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more