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 Freeze for EnclosingHirSpans
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