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
sourceimpl Clone for TrimmedDefPaths
impl Clone for TrimmedDefPaths
sourcefn clone(&self) -> TrimmedDefPaths
fn clone(&self) -> TrimmedDefPaths
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 moresourceimpl Debug for TrimmedDefPaths
impl Debug for TrimmedDefPaths
sourceimpl Default for TrimmedDefPaths
impl Default for TrimmedDefPaths
sourcefn default() -> TrimmedDefPaths
fn default() -> TrimmedDefPaths
Returns the “default value” for a type. Read more
sourceimpl DepTrackingHash for TrimmedDefPaths
impl DepTrackingHash for TrimmedDefPaths
fn hash(
&self,
hasher: &mut DefaultHasher,
_: ErrorOutputType,
_for_crate_hash: bool
)
sourceimpl Hash for TrimmedDefPaths
impl Hash for TrimmedDefPaths
sourceimpl PartialEq<TrimmedDefPaths> for TrimmedDefPaths
impl PartialEq<TrimmedDefPaths> for TrimmedDefPaths
sourcefn eq(&self, other: &TrimmedDefPaths) -> bool
fn eq(&self, other: &TrimmedDefPaths) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
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