pub(crate) struct DiabolicRitual {
pub talent: LocalAuraIdx,
pub art: [LocalAuraIdx; 3],
pub ritual: [LocalAuraIdx; 3],
}Fields§
§talent: LocalAuraIdx§art: [LocalAuraIdx; 3]§ritual: [LocalAuraIdx; 3]Implementations§
Source§impl DiabolicRitual
impl DiabolicRitual
pub(crate) fn active(self, ctx: &HookCtx<'_>) -> bool
pub(crate) fn next_from_art(self, ctx: &HookCtx<'_>) -> Option<u8>
pub(crate) fn consume_art(self, ctx: &mut HookCtx<'_>) -> Option<u8>
pub(crate) fn advance( self, ctx: &mut HookCtx<'_>, next: Option<u8>, reduction_ms: u32, )
Trait Implementations§
Source§impl Clone for DiabolicRitual
impl Clone for DiabolicRitual
Source§fn clone(&self) -> DiabolicRitual
fn clone(&self) -> DiabolicRitual
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 DiabolicRitual
impl Debug for DiabolicRitual
impl Copy for DiabolicRitual
Auto Trait Implementations§
impl Freeze for DiabolicRitual
impl RefUnwindSafe for DiabolicRitual
impl Send for DiabolicRitual
impl Sync for DiabolicRitual
impl Unpin for DiabolicRitual
impl UnsafeUnpin for DiabolicRitual
impl UnwindSafe for DiabolicRitual
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