pub struct Stack<'a> {
pub cards: &'a [Card],
pub details: StackDetails,
}
Fields§
§cards: &'a [Card]
§details: StackDetails
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Stack<'a>
impl<'a> RefUnwindSafe for Stack<'a>
impl<'a> Send for Stack<'a>
impl<'a> Sync for Stack<'a>
impl<'a> Unpin for Stack<'a>
impl<'a> UnwindSafe for Stack<'a>
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