pub struct Named {
pub class: Arc<str>,
pub in_def: Arc<str>,
pub span: Span,
}Expand description
One literal class token, where it was written.
Fields§
§class: Arc<str>§in_def: Arc<str>The definition the literal is in — which is not always the one the class= is in, because
the analysis follows a call.
span: SpanTrait Implementations§
impl Eq for Named
impl StructuralPartialEq for Named
Auto Trait Implementations§
impl Freeze for Named
impl RefUnwindSafe for Named
impl Send for Named
impl Sync for Named
impl Unpin for Named
impl UnwindSafe for Named
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