pub struct Link<V, C>where
C: ChainElement,{
pub parent: C,
pub object: V,
}
Expand description
This piece of the chain contains some object
Fields§
§parent: C
The rest of the object chain
object: V
The current object
Trait Implementations§
Source§impl<V, VC> ChainElement for Link<V, VC>where
VC: ChainElement,
impl<V, VC> ChainElement for Link<V, VC>where
VC: ChainElement,
impl<V: Copy, C> Copy for Link<V, C>where
C: ChainElement + Copy,
Auto Trait Implementations§
impl<V, C> Freeze for Link<V, C>
impl<V, C> RefUnwindSafe for Link<V, C>where
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, C> Send for Link<V, C>
impl<V, C> Sync for Link<V, C>
impl<V, C> Unpin for Link<V, C>
impl<V, C> UnwindSafe for Link<V, C>where
C: UnwindSafe,
V: UnwindSafe,
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