pub struct ManaProductionParams {
pub source_card: CardId,
pub is_snow: bool,
pub restriction: Option<String>,
pub adds_no_counter: bool,
pub adds_keywords: Option<String>,
pub adds_keywords_valid: Option<String>,
pub adds_counters: Option<String>,
pub adds_counters_valid: Option<String>,
pub triggers_when_spent: Option<String>,
}Expand description
Parameters that describe metadata to attach to produced mana.
Fields§
§source_card: CardId§is_snow: bool§restriction: Option<String>§adds_no_counter: bool§adds_keywords: Option<String>§adds_keywords_valid: Option<String>§adds_counters: Option<String>§adds_counters_valid: Option<String>§triggers_when_spent: Option<String>Auto Trait Implementations§
impl Freeze for ManaProductionParams
impl RefUnwindSafe for ManaProductionParams
impl Send for ManaProductionParams
impl Sync for ManaProductionParams
impl Unpin for ManaProductionParams
impl UnsafeUnpin for ManaProductionParams
impl UnwindSafe for ManaProductionParams
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.