pub struct AutoPayResult {
pub tapped: Vec<CardId>,
pub choices: Vec<AutoTapChoice>,
pub life_paid: i32,
pub colors_spent: u16,
pub paying_mana: Vec<u16>,
pub cancelled: bool,
}Fields§
§tapped: Vec<CardId>§choices: Vec<AutoTapChoice>§life_paid: i32§colors_spent: u16§paying_mana: Vec<u16>§cancelled: boolTrue when auto-tap produced taps but the resulting pool couldn’t
satisfy the full cost — i.e. the cast must cancel. Java’s
AutoPay.payManaCostWithTrace records the partial taps before
appending its Cancel marker; mirroring that lets the parity trace
stay byte-aligned with Java’s [TapLand …, Cancel] shape and the
agent observe the same RNG-consumption pattern on the next priority
loop iteration.
Auto Trait Implementations§
impl Freeze for AutoPayResult
impl RefUnwindSafe for AutoPayResult
impl Send for AutoPayResult
impl Sync for AutoPayResult
impl Unpin for AutoPayResult
impl UnsafeUnpin for AutoPayResult
impl UnwindSafe for AutoPayResult
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.