Struct rustc_session::config::LocationDetail
source · pub struct LocationDetail {
pub file: bool,
pub line: bool,
pub column: bool,
}
Expand description
The different settings that can be enabled via the -Z location-detail
flag.
Fields§
§file: bool
§line: bool
§column: bool
Implementations§
Trait Implementations§
source§impl Clone for LocationDetail
impl Clone for LocationDetail
source§fn clone(&self) -> LocationDetail
fn clone(&self) -> LocationDetail
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 LocationDetail
impl Debug for LocationDetail
source§impl DepTrackingHash for LocationDetail
impl DepTrackingHash for LocationDetail
fn hash( &self, hasher: &mut DefaultHasher, _: ErrorOutputType, _for_crate_hash: bool )
source§impl Hash for LocationDetail
impl Hash for LocationDetail
source§impl PartialEq<LocationDetail> for LocationDetail
impl PartialEq<LocationDetail> for LocationDetail
source§fn eq(&self, other: &LocationDetail) -> bool
fn eq(&self, other: &LocationDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LocationDetail
impl StructuralPartialEq for LocationDetail
Auto Trait Implementations§
impl RefUnwindSafe for LocationDetail
impl Send for LocationDetail
impl Sync for LocationDetail
impl Unpin for LocationDetail
impl UnwindSafe for LocationDetail
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: 3 bytes