pub enum PathCount {
Literal(u32),
Parameter(String),
}Expand description
The <number of paths>/<number of groups> non-terminal (CIP-73 Rule 0,
extended by CIP-191 to accept a $parameter). A literal is validated
(> 0) at parse time; a parameter is validated at runtime once its value
is known (CIP-191 “Non-negative integer” rule).
Variants§
Trait Implementations§
impl StructuralPartialEq for PathCount
Auto Trait Implementations§
impl Forget for PathCount
impl Freeze for PathCount
impl Move for PathCount
impl RefUnwindSafe for PathCount
impl Send for PathCount
impl Sync for PathCount
impl Unpin for PathCount
impl UnsafeUnpin for PathCount
impl UnwindSafe for PathCount
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