pub enum Arity {
Variable,
Fixed(usize),
}
Expand description
Represents the arity of a Variant or ContextSensitiveVariant.
Variants§
Variable
The arity is variable, i.e., it does not have a specific value.
Fixed(usize)
The arity has a fixed value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Arity
impl RefUnwindSafe for Arity
impl Send for Arity
impl Sync for Arity
impl Unpin for Arity
impl UnwindSafe for Arity
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