pub struct RawReference {
pub name: String,
pub kind: ReferenceKind,
pub span: Span,
}Expand description
A raw reference found during parsing.
Fields§
§name: StringThe name being referenced.
kind: ReferenceKindThe kind of reference.
span: SpanWhere in the source.
Trait Implementations§
Source§impl Clone for RawReference
impl Clone for RawReference
Source§fn clone(&self) -> RawReference
fn clone(&self) -> RawReference
Returns a duplicate 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 RawReference
impl RefUnwindSafe for RawReference
impl Send for RawReference
impl Sync for RawReference
impl Unpin for RawReference
impl UnsafeUnpin for RawReference
impl UnwindSafe for RawReference
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