#[repr(transparent)]pub struct ExprWidth(pub usize);
Available on crate feature
compiler
only.Expand description
The upper or lower bound for the length of any matches returned by a pattern.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Ord for ExprWidth
impl Ord for ExprWidth
Source§impl PartialOrd for ExprWidth
impl PartialOrd for ExprWidth
impl Copy for ExprWidth
impl Eq for ExprWidth
impl StructuralPartialEq for ExprWidth
Auto Trait Implementations§
impl Freeze for ExprWidth
impl RefUnwindSafe for ExprWidth
impl Send for ExprWidth
impl Sync for ExprWidth
impl Unpin for ExprWidth
impl UnwindSafe for ExprWidth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.