Struct adventofcode_rust_2015::day2::Present
source · [−]Fields
l: u32
w: u32
h: u32
Implementations
sourceimpl Present
impl Present
fn paper_required(&self) -> u32
fn ribbon_required(&self) -> u32
Auto Trait Implementations
impl RefUnwindSafe for Present
impl Send for Present
impl Sync for Present
impl Unpin for Present
impl UnwindSafe for Present
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more