pub struct ParticipantIdGeneratorCollection<'a, 'b, I: ShareIdentifier> {
pub generators: &'a [ParticipantIdGenerator<'b, I>],
}Expand description
A collection of participant number generators
Fields§
§generators: &'a [ParticipantIdGenerator<'b, I>]The collection of participant ID generators
Implementations§
Source§impl<'a, 'b, I: ShareIdentifier> ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I: ShareIdentifier> ParticipantIdGeneratorCollection<'a, 'b, I>
Trait Implementations§
Source§impl<'a, 'b, I: Clone + ShareIdentifier> Clone for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I: Clone + ShareIdentifier> Clone for ParticipantIdGeneratorCollection<'a, 'b, I>
Source§fn clone(&self) -> ParticipantIdGeneratorCollection<'a, 'b, I>
fn clone(&self) -> ParticipantIdGeneratorCollection<'a, 'b, I>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, 'b, I: ShareIdentifier + Copy> Copy for ParticipantIdGeneratorCollection<'a, 'b, I>
Source§impl<'a, 'b, I: Debug + ShareIdentifier> Debug for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I: Debug + ShareIdentifier> Debug for ParticipantIdGeneratorCollection<'a, 'b, I>
Source§impl<'a, 'b, I: ShareIdentifier> From<&'a Vec<ParticipantIdGenerator<'b, I>>> for ParticipantIdGeneratorCollection<'a, 'b, I>
Available on crate features alloc or std only.
impl<'a, 'b, I: ShareIdentifier> From<&'a Vec<ParticipantIdGenerator<'b, I>>> for ParticipantIdGeneratorCollection<'a, 'b, I>
Available on crate features
alloc or std only.Source§fn from(generators: &'a Vec<ParticipantIdGenerator<'b, I>>) -> Self
fn from(generators: &'a Vec<ParticipantIdGenerator<'b, I>>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b, I: ShareIdentifier, const L: usize> From<&'a [ParticipantIdGenerator<'b, I>; L]> for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I: ShareIdentifier, const L: usize> From<&'a [ParticipantIdGenerator<'b, I>; L]> for ParticipantIdGeneratorCollection<'a, 'b, I>
Source§fn from(generators: &'a [ParticipantIdGenerator<'b, I>; L]) -> Self
fn from(generators: &'a [ParticipantIdGenerator<'b, I>; L]) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b, I: ShareIdentifier> From<&'a [ParticipantIdGenerator<'b, I>]> for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I: ShareIdentifier> From<&'a [ParticipantIdGenerator<'b, I>]> for ParticipantIdGeneratorCollection<'a, 'b, I>
Source§fn from(generators: &'a [ParticipantIdGenerator<'b, I>]) -> Self
fn from(generators: &'a [ParticipantIdGenerator<'b, I>]) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, 'b, I> Freeze for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> RefUnwindSafe for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> Send for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> Sync for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> Unpin for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> UnsafeUnpin for ParticipantIdGeneratorCollection<'a, 'b, I>
impl<'a, 'b, I> UnwindSafe for ParticipantIdGeneratorCollection<'a, 'b, I>
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