pub struct OccurrenceId { /* private fields */ }Expand description
Identifies one inclusion occurrence within exactly one live expansion.
The retained token keeps identity distinct after the instance is dropped.
§Examples
See the occurrence example.
Trait Implementations§
Source§impl Clone for OccurrenceId
impl Clone for OccurrenceId
Source§impl Debug for OccurrenceId
impl Debug for OccurrenceId
impl Eq for OccurrenceId
Source§impl Hash for OccurrenceId
impl Hash for OccurrenceId
Auto Trait Implementations§
impl !Send for OccurrenceId
impl !Sync for OccurrenceId
impl Freeze for OccurrenceId
impl RefUnwindSafe for OccurrenceId
impl Unpin for OccurrenceId
impl UnsafeUnpin for OccurrenceId
impl UnwindSafe for OccurrenceId
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