Enum move_compiler::diagnostics::codes::AbilitySafety   
source · [−]#[repr(u8)]
pub enum AbilitySafety {
    DontStartAtZeroPlaceholder,
    Constraint,
    ImplicitlyCopyable,
}Variants
DontStartAtZeroPlaceholder
Constraint
ImplicitlyCopyable
Trait Implementations
sourceimpl Clone for AbilitySafety
 
impl Clone for AbilitySafety
sourcefn clone(&self) -> AbilitySafety
 
fn clone(&self) -> AbilitySafety
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AbilitySafety
 
impl Debug for AbilitySafety
sourceimpl DiagnosticCode for AbilitySafety
 
impl DiagnosticCode for AbilitySafety
const CATEGORY: Category = { let cat_is_leq_99 = Category::AbilitySafety as u8 <= 99; ["Diagnostic Category must be a u8 <= 99"][!cat_is_leq_99 as usize]; Category::AbilitySafety }
fn severity(self) -> Severity
fn code_and_message(self) -> (u8, &'static str)
fn into_info(self) -> DiagnosticInfo
sourceimpl Hash for AbilitySafety
 
impl Hash for AbilitySafety
sourceimpl PartialEq<AbilitySafety> for AbilitySafety
 
impl PartialEq<AbilitySafety> for AbilitySafety
impl Copy for AbilitySafety
impl Eq for AbilitySafety
impl StructuralEq for AbilitySafety
impl StructuralPartialEq for AbilitySafety
Auto Trait Implementations
impl RefUnwindSafe for AbilitySafety
impl Send for AbilitySafety
impl Sync for AbilitySafety
impl Unpin for AbilitySafety
impl UnwindSafe for AbilitySafety
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
sourceimpl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
 
impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
sourcefn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.