Struct DuplicateExternFunction
pub struct DuplicateExternFunction {
pub name: String,
pub first_span: SourceSpan,
pub duplicate_span: SourceSpan,
}Expand description
Duplicate extern declaration metadata reported during lowering.
Fields§
§name: StringUser-visible item name.
first_span: SourceSpanSpan of the first declaration.
duplicate_span: SourceSpanSpan of the later duplicate declaration.
Trait Implementations§
§impl Clone for DuplicateExternFunction
impl Clone for DuplicateExternFunction
§fn clone(&self) -> DuplicateExternFunction
fn clone(&self) -> DuplicateExternFunction
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 moreAuto Trait Implementations§
impl Freeze for DuplicateExternFunction
impl RefUnwindSafe for DuplicateExternFunction
impl Send for DuplicateExternFunction
impl Sync for DuplicateExternFunction
impl Unpin for DuplicateExternFunction
impl UnwindSafe for DuplicateExternFunction
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