pub struct ArityRange {
pub min: u64,
pub max: Option<u64>,
}Expand description
How many references the links of a section hold: min..=max, where
max = None means no upper bound.
Fields§
§min: u64Fewest references in a link, at least 1.
max: Option<u64>Most references in a link, None for no limit.
Implementations§
Source§impl ArityRange
impl ArityRange
Trait Implementations§
Source§impl Clone for ArityRange
impl Clone for ArityRange
Source§fn clone(&self) -> ArityRange
fn clone(&self) -> ArityRange
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 moreimpl Copy for ArityRange
Source§impl Debug for ArityRange
impl Debug for ArityRange
Source§impl Default for ArityRange
impl Default for ArityRange
Source§impl Display for ArityRange
impl Display for ArityRange
impl Eq for ArityRange
Source§impl FromStr for ArityRange
impl FromStr for ArityRange
Source§impl Hash for ArityRange
impl Hash for ArityRange
Source§impl PartialEq for ArityRange
impl PartialEq for ArityRange
impl StructuralPartialEq for ArityRange
Auto Trait Implementations§
impl Freeze for ArityRange
impl RefUnwindSafe for ArityRange
impl Send for ArityRange
impl Sync for ArityRange
impl Unpin for ArityRange
impl UnsafeUnpin for ArityRange
impl UnwindSafe for ArityRange
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