Struct NamedDistribution
#[non_exhaustive]pub struct NamedDistribution {
pub name: String,
pub distribution: Distribution,
}Expand description
A parameter name and the distribution parsed for it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe parameter’s name.
distribution: DistributionThe parsed parameter distribution.
Trait Implementations§
§impl Clone for NamedDistribution
impl Clone for NamedDistribution
§fn clone(&self) -> NamedDistribution
fn clone(&self) -> NamedDistribution
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 more§impl Debug for NamedDistribution
impl Debug for NamedDistribution
§impl PartialEq for NamedDistribution
impl PartialEq for NamedDistribution
impl StructuralPartialEq for NamedDistribution
Auto Trait Implementations§
impl Freeze for NamedDistribution
impl RefUnwindSafe for NamedDistribution
impl Send for NamedDistribution
impl Sync for NamedDistribution
impl Unpin for NamedDistribution
impl UnsafeUnpin for NamedDistribution
impl UnwindSafe for NamedDistribution
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