pub struct Three(pub [CKCNumber; 3]);Tuple Fields§
§0: [CKCNumber; 3]Implementations§
Trait Implementations§
Source§impl HandValidator for Three
impl HandValidator for Three
fn are_unique(&self) -> bool
fn first(&self) -> CKCNumber
fn sort(&self) -> Three
fn sort_in_place(&mut self)
fn iter(&self) -> Iter<'_, CKCNumber>
fn contain_blank(&self) -> bool
Source§fn is_corrupt(&self) -> bool
fn is_corrupt(&self) -> bool
A corrupt hand is one where any of the values in the array doesn’t correspond to any
recognized
CardNumber or is blank.fn is_valid(&self) -> bool
Source§impl Ord for Three
impl Ord for Three
Source§impl PartialOrd for Three
impl PartialOrd for Three
impl Copy for Three
impl Eq for Three
impl StructuralPartialEq for Three
Auto Trait Implementations§
impl Freeze for Three
impl RefUnwindSafe for Three
impl Send for Three
impl Sync for Three
impl Unpin for Three
impl UnwindSafe for Three
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