#[non_exhaustive]#[repr(C)]pub enum MacroReport {
No = 0,
All = 1,
}
Expand description
FIXME(xFrednet): These settings should be working now, but are still limited
due to the limited Span
implementation. Ideally, I would
also like more options, like a Local
variant that only lints in local marcos.
For libraries it might also be cool to have a Crate
variant, that only lints
in user code and code from macros from the specified crate.
See: rust-marker/marker#149
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.
Trait Implementations§
Source§impl Clone for MacroReport
impl Clone for MacroReport
Source§fn clone(&self) -> MacroReport
fn clone(&self) -> MacroReport
Returns a duplicate 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 MacroReport
impl Debug for MacroReport
Source§impl Hash for MacroReport
impl Hash for MacroReport
Source§impl PartialEq for MacroReport
impl PartialEq for MacroReport
impl Copy for MacroReport
impl Eq for MacroReport
impl StructuralPartialEq for MacroReport
Auto Trait Implementations§
impl Freeze for MacroReport
impl RefUnwindSafe for MacroReport
impl Send for MacroReport
impl Sync for MacroReport
impl Unpin for MacroReport
impl UnwindSafe for MacroReport
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