Struct GrowingDistribution
#[non_exhaustive]pub struct GrowingDistribution {
pub distribution: Distribution,
pub open: Option<Open>,
}Expand description
A parsed distribution and its optional growth declaration.
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.distribution: DistributionThe parsed parameter distribution.
open: Option<Open>The optional growth declaration.
Trait Implementations§
§impl Clone for GrowingDistribution
impl Clone for GrowingDistribution
§fn clone(&self) -> GrowingDistribution
fn clone(&self) -> GrowingDistribution
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 GrowingDistribution
impl Debug for GrowingDistribution
§impl PartialEq for GrowingDistribution
impl PartialEq for GrowingDistribution
impl StructuralPartialEq for GrowingDistribution
Auto Trait Implementations§
impl Freeze for GrowingDistribution
impl RefUnwindSafe for GrowingDistribution
impl Send for GrowingDistribution
impl Sync for GrowingDistribution
impl Unpin for GrowingDistribution
impl UnsafeUnpin for GrowingDistribution
impl UnwindSafe for GrowingDistribution
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