pub enum ArrayLength<'i> {
Fixed(Expression<'i>),
Inclusive(Expression<'i>),
Exclusive(Expression<'i>),
}
Expand description
A range of allowed array lengths
Variants
Fixed(Expression<'i>)
type[expr]
Inclusive(Expression<'i>)
type[<=expr]
Exclusive(Expression<'i>)
name[<expr]
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for ArrayLength<'i>
impl<'i> Send for ArrayLength<'i>
impl<'i> Sync for ArrayLength<'i>
impl<'i> Unpin for ArrayLength<'i>
impl<'i> UnwindSafe for ArrayLength<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more