Struct show_notes::e016::SimpleNonCopyable
source · pub struct SimpleNonCopyable {
contents: String,
}
Expand description
A container showing where Cell<T>
doesn’t work and RefCell<T>
does.
Fields§
§contents: String
Auto Trait Implementations§
impl Freeze for SimpleNonCopyable
impl RefUnwindSafe for SimpleNonCopyable
impl Send for SimpleNonCopyable
impl Sync for SimpleNonCopyable
impl Unpin for SimpleNonCopyable
impl UnwindSafe for SimpleNonCopyable
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