pub struct Card {
pub cost: Cost,
pub description: String,
pub prophecy: bool,
pub name: String,
pub rarity: Rarity,
}Fields§
§cost: Cost§description: String§prophecy: bool§name: String§rarity: RarityAuto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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