pub struct TriggerResolveError {
pub(super) kind: TriggerResolveErrorKind,
}Fields§
§kind: TriggerResolveErrorKindImplementations§
Source§impl TriggerResolveError
impl TriggerResolveError
const fn new(kind: TriggerResolveErrorKind) -> Self
pub(super) const fn missing_edge(source_spell_id: u32, effect_index: u8) -> Self
pub(super) const fn missing_damage(spell_id: u32) -> Self
pub(super) const fn ambiguous_forward(spell_id: u32) -> Self
pub(super) const fn cycle(spell_id: u32) -> Self
pub(super) const fn depth_exceeded(source_spell_id: u32) -> Self
pub(super) const fn invalid_child_id( source_spell_id: u32, spell_id: u32, ) -> Self
pub(super) const fn unsupported_child_effect( spell_id: u32, effect_index: u8, effect_type: i32, aura_subtype: i32, ) -> Self
pub(super) const fn missing_removed_aura( spell_id: u32, effect_index: u8, ) -> Self
pub(super) const fn invalid_cooldown_category( spell_id: u32, effect_index: u8, category: i32, ) -> Self
pub(super) const fn invalid_cooldown_amount( spell_id: u32, effect_index: u8, amount: i64, ) -> Self
pub(super) const fn invalid_resource_type( spell_id: u32, effect_index: u8, resource_type: i32, ) -> Self
Trait Implementations§
Source§impl Clone for TriggerResolveError
impl Clone for TriggerResolveError
Source§fn clone(&self) -> TriggerResolveError
fn clone(&self) -> TriggerResolveError
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 TriggerResolveError
impl Debug for TriggerResolveError
Source§impl Display for TriggerResolveError
impl Display for TriggerResolveError
Source§impl Error for TriggerResolveError
impl Error for TriggerResolveError
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 TriggerResolveError
impl PartialEq for TriggerResolveError
impl Copy for TriggerResolveError
impl Eq for TriggerResolveError
impl StructuralPartialEq for TriggerResolveError
Auto Trait Implementations§
impl Freeze for TriggerResolveError
impl RefUnwindSafe for TriggerResolveError
impl Send for TriggerResolveError
impl Sync for TriggerResolveError
impl Unpin for TriggerResolveError
impl UnsafeUnpin for TriggerResolveError
impl UnwindSafe for TriggerResolveError
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§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