Enum rustc_session::config::JsonUnusedExterns
source · pub enum JsonUnusedExterns {
No,
Silent,
Loud,
}
Expand description
Report unused externs in event stream
Variants§
No
Do not
Silent
Report, but do not exit with failure status for deny/forbid
Loud
Report, and also exit with failure status for deny/forbid
Implementations§
Trait Implementations§
source§impl Clone for JsonUnusedExterns
impl Clone for JsonUnusedExterns
source§fn clone(&self) -> JsonUnusedExterns
fn clone(&self) -> JsonUnusedExterns
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 moreimpl Copy for JsonUnusedExterns
Auto Trait Implementations§
impl RefUnwindSafe for JsonUnusedExterns
impl Send for JsonUnusedExterns
impl Sync for JsonUnusedExterns
impl Unpin for JsonUnusedExterns
impl UnwindSafe for JsonUnusedExterns
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
No
: 0 bytesSilent
: 0 bytesLoud
: 0 bytes