pub struct Any(/* private fields */);
Expand description
Selects any of nested items with equal probabilities
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Any
impl<'de> Deserialize<'de> for Any
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl !UnwindSafe for Any
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