Struct aoc::year2020::day21::Ingredient
source · pub struct Ingredient {
food: usize,
candidates: usize,
}
Fields§
§food: usize
§candidates: usize
Trait Implementations§
source§impl Clone for Ingredient
impl Clone for Ingredient
source§fn clone(&self) -> Ingredient
fn clone(&self) -> Ingredient
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 Default for Ingredient
impl Default for Ingredient
source§fn default() -> Ingredient
fn default() -> Ingredient
Returns the “default value” for a type. Read more
impl Copy for Ingredient
Auto Trait Implementations§
impl Freeze for Ingredient
impl RefUnwindSafe for Ingredient
impl Send for Ingredient
impl Sync for Ingredient
impl Unpin for Ingredient
impl UnwindSafe for Ingredient
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)