pub struct LandTraitChanges;Implementations§
Trait Implementations§
Source§impl CardTraitChanges for LandTraitChanges
impl CardTraitChanges for LandTraitChanges
fn change_text(&mut self)
fn copy(&self, _host: CardId, _lki: bool) -> Box<dyn ICardTraitChanges>
fn apply_spell_ability(&self, list: Vec<SpellAbility>) -> Vec<SpellAbility>
fn apply_trigger(&self, list: Vec<Trigger>) -> Vec<Trigger>
fn apply_replacement_effect( &self, list: Vec<ReplacementEffect>, ) -> Vec<ReplacementEffect>
fn apply_static_ability(&self, list: Vec<StaticAbility>) -> Vec<StaticAbility>
Source§impl Clone for LandTraitChanges
impl Clone for LandTraitChanges
Source§fn clone(&self) -> LandTraitChanges
fn clone(&self) -> LandTraitChanges
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 LandTraitChanges
impl Debug for LandTraitChanges
Source§impl Default for LandTraitChanges
impl Default for LandTraitChanges
Source§fn default() -> LandTraitChanges
fn default() -> LandTraitChanges
Returns the “default value” for a type. Read more
Source§impl KeywordsChange for LandTraitChanges
impl KeywordsChange for LandTraitChanges
Source§fn apply_keywords(&self, _list: &mut KeywordCollection)
fn apply_keywords(&self, _list: &mut KeywordCollection)
Apply this change to a keyword collection.
Source§fn copy(&self) -> Box<dyn IKeywordsChange>
fn copy(&self) -> Box<dyn IKeywordsChange>
Create a deep copy of this keywords change.
Mirrors Java’s
IKeywordsChange.copy(Card, boolean).Auto Trait Implementations§
impl Freeze for LandTraitChanges
impl RefUnwindSafe for LandTraitChanges
impl Send for LandTraitChanges
impl Sync for LandTraitChanges
impl Unpin for LandTraitChanges
impl UnsafeUnpin for LandTraitChanges
impl UnwindSafe for LandTraitChanges
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> KeywordsChangeClone for Twhere
T: 'static + KeywordsChange + Clone,
impl<T> KeywordsChangeClone for Twhere
T: 'static + KeywordsChange + Clone,
fn clone_box(&self) -> Box<dyn KeywordsChange>
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.