pub struct Hand {
pub cards: Vec<String>,
pub score: f64,
pub description: String,
}
Fields§
§cards: Vec<String>
§score: f64
§description: String
Trait Implementations§
source§impl PartialEq for Hand
impl PartialEq for Hand
impl StructuralPartialEq for Hand
Auto Trait Implementations§
impl RefUnwindSafe for Hand
impl Send for Hand
impl Sync for Hand
impl Unpin for Hand
impl UnwindSafe for Hand
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