pub struct Devour {
pub inner: KeywordWithAmount,
pub type_str: Option<String>,
pub desc_type: String,
pub reminder_type: String,
pub extra: Option<String>,
}Expand description
Devour keyword data. As this creature enters, you may sacrifice creatures. It enters with +1/+1 counters for each creature sacrificed.
Fields§
§inner: KeywordWithAmount§type_str: Option<String>The type to devour (default “Creature”).
desc_type: StringHuman-readable type description.
reminder_type: StringPlural type for reminder text.
extra: Option<String>Extra text.
Implementations§
Trait Implementations§
Source§impl KeywordWithTypeTrait for Devour
impl KeywordWithTypeTrait for Devour
Source§fn get_valid_type(&self) -> &str
fn get_valid_type(&self) -> &str
Get the valid type string used for game logic matching.
Source§fn get_type_description(&self) -> &str
fn get_type_description(&self) -> &str
Get the human-readable type description.
Auto Trait Implementations§
impl Freeze for Devour
impl RefUnwindSafe for Devour
impl Send for Devour
impl Sync for Devour
impl Unpin for Devour
impl UnsafeUnpin for Devour
impl UnwindSafe for Devour
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.