Struct show_notes::e016::SimpleContainer
source · pub struct SimpleContainer {
contents: i32,
}
Expand description
A container showing a type where Cell<T>
works with Vec<T>
.
Fields§
§contents: i32
Trait Implementations§
source§impl Clone for SimpleContainer
impl Clone for SimpleContainer
source§fn clone(&self) -> SimpleContainer
fn clone(&self) -> SimpleContainer
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 moreimpl Copy for SimpleContainer
Auto Trait Implementations§
impl Freeze for SimpleContainer
impl RefUnwindSafe for SimpleContainer
impl Send for SimpleContainer
impl Sync for SimpleContainer
impl Unpin for SimpleContainer
impl UnwindSafe for SimpleContainer
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