pub enum ArmGuard {
None(usize),
Existing(usize, usize),
}Variants§
None(usize)
No guard: one is added before the => at this offset.
Existing(usize, usize)
if <expr> with the expression at this byte range.
Trait Implementations§
impl Copy for ArmGuard
impl Eq for ArmGuard
impl StructuralPartialEq for ArmGuard
Auto Trait Implementations§
impl Forget for ArmGuard
impl Freeze for ArmGuard
impl Move for ArmGuard
impl RefUnwindSafe for ArmGuard
impl Send for ArmGuard
impl Sync for ArmGuard
impl Unpin for ArmGuard
impl UnsafeUnpin for ArmGuard
impl UnwindSafe for ArmGuard
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§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.