pub struct ChildConstraints {
pub min: usize,
pub max: Option<usize>,
pub optionality: Optionality,
pub grow: f64,
}Fields§
§min: usize§max: Option<usize>§optionality: Optionality§grow: f64Trait Implementations§
Source§impl Clone for ChildConstraints
impl Clone for ChildConstraints
Source§fn clone(&self) -> ChildConstraints
fn clone(&self) -> ChildConstraints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChildConstraints
impl Debug for ChildConstraints
Source§impl Default for ChildConstraints
impl Default for ChildConstraints
impl Copy for ChildConstraints
Auto Trait Implementations§
impl Freeze for ChildConstraints
impl RefUnwindSafe for ChildConstraints
impl Send for ChildConstraints
impl Sync for ChildConstraints
impl Unpin for ChildConstraints
impl UnwindSafe for ChildConstraints
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