Struct onejoker::poker::bug::BugScanResult
source · #[repr(C)]pub struct BugScanResult {
pub index: u8,
pub replacement: Card,
}
Expand description
Return the result of scanning the hand for information necessary for replacing the bug, if present.
Fields§
§index: u8
Index of the bug card in the hand
replacement: Card
Card to replace it with
Trait Implementations§
source§impl Clone for BugScanResult
impl Clone for BugScanResult
source§fn clone(&self) -> BugScanResult
fn clone(&self) -> BugScanResult
Returns a copy 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 moresource§impl Debug for BugScanResult
impl Debug for BugScanResult
source§impl Default for BugScanResult
impl Default for BugScanResult
source§fn default() -> BugScanResult
fn default() -> BugScanResult
Returns the “default value” for a type. Read more
impl Copy for BugScanResult
Auto Trait Implementations§
impl Freeze for BugScanResult
impl RefUnwindSafe for BugScanResult
impl Send for BugScanResult
impl Sync for BugScanResult
impl Unpin for BugScanResult
impl UnwindSafe for BugScanResult
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)