pub enum RuntimeCheckKind {
LenEquals {
expected_len: usize,
},
LenAtLeast {
min_len: usize,
},
}Expand description
Runtime check category used by coercion planning.
Variants§
Trait Implementations§
Source§impl Clone for RuntimeCheckKind
impl Clone for RuntimeCheckKind
Source§fn clone(&self) -> RuntimeCheckKind
fn clone(&self) -> RuntimeCheckKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeCheckKind
impl Debug for RuntimeCheckKind
Source§impl PartialEq for RuntimeCheckKind
impl PartialEq for RuntimeCheckKind
impl Eq for RuntimeCheckKind
impl StructuralPartialEq for RuntimeCheckKind
Auto Trait Implementations§
impl Freeze for RuntimeCheckKind
impl RefUnwindSafe for RuntimeCheckKind
impl Send for RuntimeCheckKind
impl Sync for RuntimeCheckKind
impl Unpin for RuntimeCheckKind
impl UnwindSafe for RuntimeCheckKind
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