pub struct Control<C = PlaceId> {
pub reference: C,
pub saved: usize,
pub len: usize,
}Fields§
§reference: C§saved: usizeWhere its value at the last GENERATE is kept in the state item.
len: usizeTrait Implementations§
impl<C: Eq> Eq for Control<C>
impl<C: PartialEq> StructuralPartialEq for Control<C>
Auto Trait Implementations§
impl<C> Freeze for Control<C>where
C: Freeze,
impl<C> RefUnwindSafe for Control<C>where
C: RefUnwindSafe,
impl<C> Send for Control<C>where
C: Send,
impl<C> Sync for Control<C>where
C: Sync,
impl<C> Unpin for Control<C>where
C: Unpin,
impl<C> UnsafeUnpin for Control<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for Control<C>where
C: 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