pub struct InternalSharing { /* private fields */ }Expand description
Share using pointer identity, i.e. yield each node only once, where two nodes are the same iff they both point to the same object.
Trait Implementations§
Source§impl Clone for InternalSharing
impl Clone for InternalSharing
Source§fn clone(&self) -> InternalSharing
fn clone(&self) -> InternalSharing
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 moreSource§impl Debug for InternalSharing
impl Debug for InternalSharing
Source§impl Default for InternalSharing
impl Default for InternalSharing
Source§fn default() -> InternalSharing
fn default() -> InternalSharing
Returns the “default value” for a type. Read more
Source§impl<D: DagLike> SharingTracker<D> for InternalSharing
impl<D: DagLike> SharingTracker<D> for InternalSharing
Auto Trait Implementations§
impl Freeze for InternalSharing
impl RefUnwindSafe for InternalSharing
impl Send for InternalSharing
impl Sync for InternalSharing
impl Unpin for InternalSharing
impl UnwindSafe for InternalSharing
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