pub struct AnimateParams {
pub power: Option<i32>,
pub toughness: Option<i32>,
pub add_types: Vec<String>,
pub add_keywords: Vec<String>,
pub colors: Option<Vec<String>>,
pub overwrite_types: bool,
}Expand description
Parsed animate parameters from a spell ability. Captures the fields that animate effects need to apply.
Fields§
§power: Option<i32>§toughness: Option<i32>§add_types: Vec<String>§add_keywords: Vec<String>§colors: Option<Vec<String>>§overwrite_types: boolTrait Implementations§
Source§impl Clone for AnimateParams
impl Clone for AnimateParams
Source§fn clone(&self) -> AnimateParams
fn clone(&self) -> AnimateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnimateParams
impl Debug for AnimateParams
Source§impl Default for AnimateParams
impl Default for AnimateParams
Source§fn default() -> AnimateParams
fn default() -> AnimateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnimateParams
impl RefUnwindSafe for AnimateParams
impl Send for AnimateParams
impl Sync for AnimateParams
impl Unpin for AnimateParams
impl UnsafeUnpin for AnimateParams
impl UnwindSafe for AnimateParams
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.