pub enum AllowedTargets {
AnyCreatureOnField,
AnyPlayer,
}Variants§
Trait Implementations§
Source§impl Clone for AllowedTargets
impl Clone for AllowedTargets
Source§fn clone(&self) -> AllowedTargets
fn clone(&self) -> AllowedTargets
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AllowedTargets
impl RefUnwindSafe for AllowedTargets
impl Send for AllowedTargets
impl Sync for AllowedTargets
impl Unpin for AllowedTargets
impl UnwindSafe for AllowedTargets
Blanket Implementations§
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