pub struct SubValueProviderId {
pub idx: usize,
pub generation: Generation,
}Expand description
Uniquely identifies a SubValueProvider
The identifier is composed of two fields: idx and generation. At any
point in time, only one subvalue provider should have a given idx.
If two subvalue providers have the same idx but different generation,
then only the one with the larger generation is valid.
Fields§
§idx: usize§generation: GenerationTrait Implementations§
Source§impl Clone for SubValueProviderId
impl Clone for SubValueProviderId
Source§fn clone(&self) -> SubValueProviderId
fn clone(&self) -> SubValueProviderId
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 moreimpl Copy for SubValueProviderId
Auto Trait Implementations§
impl Freeze for SubValueProviderId
impl RefUnwindSafe for SubValueProviderId
impl Send for SubValueProviderId
impl Sync for SubValueProviderId
impl Unpin for SubValueProviderId
impl UnwindSafe for SubValueProviderId
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