pub enum TargetRef {
Player(PlayerId),
Card(CardId),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetRef
impl RefUnwindSafe for TargetRef
impl Send for TargetRef
impl Sync for TargetRef
impl Unpin for TargetRef
impl UnwindSafe for TargetRef
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