pub struct FixedDictGenerator<'a> { /* private fields */ }Expand description
Generator for CBOR maps with fixed keys. Created via FixedDictBuilder.
Trait Implementations§
Source§impl Generator<Value> for FixedDictGenerator<'_>
impl Generator<Value> for FixedDictGenerator<'_>
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl<'a> Freeze for FixedDictGenerator<'a>
impl<'a> !RefUnwindSafe for FixedDictGenerator<'a>
impl<'a> Send for FixedDictGenerator<'a>
impl<'a> Sync for FixedDictGenerator<'a>
impl<'a> Unpin for FixedDictGenerator<'a>
impl<'a> UnsafeUnpin for FixedDictGenerator<'a>
impl<'a> !UnwindSafe for FixedDictGenerator<'a>
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