Enum rustc_session::config::TrimmedDefPaths
source · pub enum TrimmedDefPaths {
Never,
Always,
GoodPath,
}
Expand description
Parameter to control path trimming.
Variants§
Never
try_print_trimmed_def_path
never prints a trimmed path and never calls the expensive query
Always
try_print_trimmed_def_path
calls the expensive query, the query doesn’t call delay_good_path_bug
GoodPath
try_print_trimmed_def_path
calls the expensive query, the query calls delay_good_path_bug
Trait Implementations§
source§impl Clone for TrimmedDefPaths
impl Clone for TrimmedDefPaths
source§fn clone(&self) -> TrimmedDefPaths
fn clone(&self) -> TrimmedDefPaths
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 TrimmedDefPaths
impl Debug for TrimmedDefPaths
source§impl Default for TrimmedDefPaths
impl Default for TrimmedDefPaths
source§fn default() -> TrimmedDefPaths
fn default() -> TrimmedDefPaths
Returns the “default value” for a type. Read more
source§impl DepTrackingHash for TrimmedDefPaths
impl DepTrackingHash for TrimmedDefPaths
fn hash( &self, hasher: &mut DefaultHasher, _: ErrorOutputType, _for_crate_hash: bool )
source§impl Hash for TrimmedDefPaths
impl Hash for TrimmedDefPaths
source§impl PartialEq<TrimmedDefPaths> for TrimmedDefPaths
impl PartialEq<TrimmedDefPaths> for TrimmedDefPaths
source§fn eq(&self, other: &TrimmedDefPaths) -> bool
fn eq(&self, other: &TrimmedDefPaths) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrimmedDefPaths
impl Eq for TrimmedDefPaths
impl StructuralEq for TrimmedDefPaths
impl StructuralPartialEq for TrimmedDefPaths
Auto Trait Implementations§
impl RefUnwindSafe for TrimmedDefPaths
impl Send for TrimmedDefPaths
impl Sync for TrimmedDefPaths
impl Unpin for TrimmedDefPaths
impl UnwindSafe for TrimmedDefPaths
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:
Never
: 0 bytesAlways
: 0 bytesGoodPath
: 0 bytes