pub struct RcPictureData { /* private fields */ }
Expand description
A PictureData
within a Rc<RefCell>
which field rank is guaranteed to be correct.
The field rank of PictureData
is only final after both fields have been constructed - namely,
the first field can only point to the second one after the latter is available as a Rc. Methods
PictureData::into_rc
and PictureData::split_frame
take care of this, and is this only
producer of this type, ensuring all instances are correct.
Trait Implementations§
Source§impl Clone for RcPictureData
impl Clone for RcPictureData
Source§fn clone(&self) -> RcPictureData
fn clone(&self) -> RcPictureData
Returns a duplicate 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 Debug for RcPictureData
impl Debug for RcPictureData
Source§impl Default for RcPictureData
impl Default for RcPictureData
Source§fn default() -> RcPictureData
fn default() -> RcPictureData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RcPictureData
impl !RefUnwindSafe for RcPictureData
impl !Send for RcPictureData
impl !Sync for RcPictureData
impl Unpin for RcPictureData
impl !UnwindSafe for RcPictureData
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