pub enum Keyword {
Show 200 variants
Undefined,
Absorb,
Adapt,
Affinity,
Afflict,
Afterlife,
Aftermath,
Amplify,
Annihilator,
Ascend,
Assist,
AuraSwap,
Awaken,
Backup,
Banding,
BandsWith,
Bargain,
BattleCry,
Bestow,
Blitz,
Bloodthirst,
Bushido,
Buyback,
Cascade,
Casualty,
Champion,
Changeling,
ChooseABackground,
Cipher,
Companion,
Compleated,
Conspire,
Convoke,
Craft,
Crew,
CumulativeUpkeep,
Cycling,
Dash,
Daybound,
Deathtouch,
Decayed,
Defender,
Delve,
Demonstrate,
Dethrone,
Devour,
Devoid,
Disguise,
Disturb,
DoctorsCompanion,
DoubleAgenda,
DoubleStrike,
DoubleTeam,
Dredge,
Echo,
Embalm,
Emerge,
Enchant,
Encore,
Enlist,
Entwine,
Epic,
Equip,
Escape,
Escalate,
Eternalize,
Evoke,
Evolve,
Exalted,
Exploit,
Extort,
Fabricate,
Fading,
Fear,
Firebending,
FirstStrike,
Flanking,
Flash,
Flashback,
Flying,
ForMirrodin,
Foretell,
Fortify,
Freerunning,
Frenzy,
Fuse,
Gift,
Graft,
Gravestorm,
Harmonize,
Haste,
Haunt,
Hexproof,
Hideaway,
HiddenAgenda,
Horsemanship,
Impending,
Improvise,
Indestructible,
Infect,
Ingest,
Intimidate,
Kicker,
JobSelect,
JumpStart,
Landwalk,
LevelUp,
Lifelink,
LivingMetal,
LivingWeapon,
Madness,
Mayhem,
Melee,
Mentor,
Menace,
Megamorph,
Miracle,
Mobilize,
Monstrosity,
Modular,
MoreThanMeetsTheEye,
Morph,
Multikicker,
Mutate,
Myriad,
Nightbound,
Ninjutsu,
Outlast,
Offering,
Offspring,
Overload,
Partner,
PartnerWith,
Persist,
Phasing,
Plot,
Poisonous,
Protection,
Prototype,
Provoke,
Prowess,
Prowl,
Rampage,
Ravenous,
Reach,
ReadAhead,
Rebound,
Recover,
Reconfigure,
Reflect,
Reinforce,
Renown,
Replicate,
Retrace,
Riot,
Ripple,
Saddle,
Scavenge,
Shadow,
Shroud,
Skulk,
Sneak,
Soulbond,
Soulshift,
SpaceSculptor,
Specialize,
Spectacle,
Splice,
SplitSecond,
Spree,
Squad,
StartYourEngines,
StartingIntensity,
Station,
Storm,
Strive,
Sunburst,
Surge,
Suspend,
Tiered,
Toxic,
Training,
Trample,
Transfigure,
Transmute,
Tribute,
TypeCycling,
UmbraArmor,
Undaunted,
Undying,
Unearth,
Unleash,
Vanishing,
Vigilance,
Ward,
Warp,
WebSlinging,
Wither,
MayFlashCost,
MayFlashSac,
}Expand description
The Keyword enum with all keyword variants.
Mirrors Java’s Keyword enum with 213 entries.
Variants§
Undefined
Absorb
Adapt
Affinity
Afflict
Afterlife
Aftermath
Amplify
Annihilator
Ascend
Assist
AuraSwap
Awaken
Backup
Banding
BandsWith
Bargain
BattleCry
Bestow
Blitz
Bloodthirst
Bushido
Buyback
Cascade
Casualty
Champion
Changeling
ChooseABackground
Cipher
Companion
Compleated
Conspire
Convoke
Craft
Crew
CumulativeUpkeep
Cycling
Dash
Daybound
Deathtouch
Decayed
Defender
Delve
Demonstrate
Dethrone
Devour
Devoid
Disguise
Disturb
DoctorsCompanion
DoubleAgenda
DoubleStrike
DoubleTeam
Dredge
Echo
Embalm
Emerge
Enchant
Encore
Enlist
Entwine
Epic
Equip
Escape
Escalate
Eternalize
Evoke
Evolve
Exalted
Exploit
Extort
Fabricate
Fading
Fear
Firebending
FirstStrike
Flanking
Flash
Flashback
Flying
ForMirrodin
Foretell
Fortify
Freerunning
Frenzy
Fuse
Gift
Graft
Gravestorm
Harmonize
Haste
Haunt
Hexproof
Hideaway
HiddenAgenda
Horsemanship
Impending
Improvise
Indestructible
Infect
Ingest
Intimidate
Kicker
JobSelect
JumpStart
Landwalk
LevelUp
Lifelink
LivingMetal
LivingWeapon
Madness
Mayhem
Melee
Mentor
Menace
Megamorph
Miracle
Mobilize
Monstrosity
Modular
MoreThanMeetsTheEye
Morph
Multikicker
Mutate
Myriad
Nightbound
Ninjutsu
Outlast
Offering
Offspring
Overload
Partner
PartnerWith
Persist
Phasing
Plot
Poisonous
Protection
Prototype
Provoke
Prowess
Prowl
Rampage
Ravenous
Reach
ReadAhead
Rebound
Recover
Reconfigure
Reflect
Reinforce
Renown
Replicate
Retrace
Riot
Ripple
Saddle
Scavenge
Shadow
Shroud
Skulk
Sneak
Soulbond
Soulshift
SpaceSculptor
Specialize
Spectacle
Splice
SplitSecond
Spree
Squad
StartYourEngines
StartingIntensity
Station
Storm
Strive
Sunburst
Surge
Suspend
Tiered
Toxic
Training
Trample
Transfigure
Transmute
Tribute
TypeCycling
UmbraArmor
Undaunted
Undying
Unearth
Unleash
Vanishing
Vigilance
Ward
Warp
WebSlinging
Wither
MayFlashCost
MayFlashSac
Implementations§
Source§impl Keyword
impl Keyword
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Get the display name for this keyword.
Sourcepub fn is_multiple_redundant(&self) -> bool
pub fn is_multiple_redundant(&self) -> bool
Whether multiple instances of this keyword are redundant.
Sourcepub fn smart_value_of(value: &str) -> Keyword
pub fn smart_value_of(value: &str) -> Keyword
Look up a keyword by its display name (case-insensitive).
Sourcepub fn all_keywords() -> impl Iterator<Item = Keyword>
pub fn all_keywords() -> impl Iterator<Item = Keyword>
Return an iterator over all keyword variants (excluding Undefined).
Trait Implementations§
impl Copy for Keyword
impl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
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> CallHasher for T
impl<T> CallHasher for T
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.