pub(crate) struct ActiveAuraEffectPlan {
pub(super) masks: Box<[(LocalAuraIdx, u16)]>,
pub(super) relevant_locals: Box<[u64]>,
aura_count: usize,
}Fields§
§masks: Box<[(LocalAuraIdx, u16)]>§relevant_locals: Box<[u64]>§aura_count: usizeImplementations§
Source§impl ActiveAuraEffectPlan
impl ActiveAuraEffectPlan
pub(super) fn from_masks(masks: Vec<u16>) -> Self
pub(super) fn compile(entries: &[PlannedAuraEffect], aura_count: usize) -> Self
pub(crate) fn mask(&self, local: LocalAuraIdx) -> u16
pub(crate) fn masks(&self) -> &[(LocalAuraIdx, u16)]
pub(crate) fn relevant_locals(&self) -> &[u64]
pub(super) fn validate(&self, aura_count: usize) -> bool
Trait Implementations§
Source§impl Debug for ActiveAuraEffectPlan
impl Debug for ActiveAuraEffectPlan
Source§impl Default for ActiveAuraEffectPlan
impl Default for ActiveAuraEffectPlan
Source§fn default() -> ActiveAuraEffectPlan
fn default() -> ActiveAuraEffectPlan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActiveAuraEffectPlan
impl RefUnwindSafe for ActiveAuraEffectPlan
impl Send for ActiveAuraEffectPlan
impl Sync for ActiveAuraEffectPlan
impl Unpin for ActiveAuraEffectPlan
impl UnsafeUnpin for ActiveAuraEffectPlan
impl UnwindSafe for ActiveAuraEffectPlan
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
§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