#[non_exhaustive]pub enum UnsupportedForm {
ArgumentCount,
KeywordArguments,
ArgumentTypes,
MissingTypeContext,
}Expand description
Unsupported source shape for a known standard-library rule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ArgumentCount
The call used an unsupported argument count.
KeywordArguments
The call used keyword/named arguments that are not modeled yet.
ArgumentTypes
The call used unsupported argument types.
MissingTypeContext
The call omitted required type context.
Trait Implementations§
Source§impl Clone for UnsupportedForm
impl Clone for UnsupportedForm
Source§fn clone(&self) -> UnsupportedForm
fn clone(&self) -> UnsupportedForm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnsupportedForm
Source§impl Debug for UnsupportedForm
impl Debug for UnsupportedForm
impl Eq for UnsupportedForm
Source§impl PartialEq for UnsupportedForm
impl PartialEq for UnsupportedForm
Source§fn eq(&self, other: &UnsupportedForm) -> bool
fn eq(&self, other: &UnsupportedForm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnsupportedForm
Auto Trait Implementations§
impl Freeze for UnsupportedForm
impl RefUnwindSafe for UnsupportedForm
impl Send for UnsupportedForm
impl Sync for UnsupportedForm
impl Unpin for UnsupportedForm
impl UnsafeUnpin for UnsupportedForm
impl UnwindSafe for UnsupportedForm
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