Enum rustc_utils::source_map::spanner::EnclosingHirSpans
source · pub enum EnclosingHirSpans {
Full,
OuterOnly,
None,
}
Expand description
Which parts of a HIR node’s span should be included for a matching MIR node
Variants§
Trait Implementations§
source§impl Clone for EnclosingHirSpans
impl Clone for EnclosingHirSpans
source§fn clone(&self) -> EnclosingHirSpans
fn clone(&self) -> EnclosingHirSpans
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 EnclosingHirSpans
Auto Trait Implementations§
impl RefUnwindSafe for EnclosingHirSpans
impl Send for EnclosingHirSpans
impl Sync for EnclosingHirSpans
impl Unpin for EnclosingHirSpans
impl UnwindSafe for EnclosingHirSpans
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