pub struct GaugeRef {
pub name: String,
pub span: SourceSpan,
}Expand description
A (possibly dotted) gauge reference: user gauges are bare idents, the
built-in resource gauges are namespaced (std.spend / std.latency /
std.tokens).
Fields§
§name: String§span: SourceSpanTrait Implementations§
impl Eq for GaugeRef
impl StructuralPartialEq for GaugeRef
Auto Trait Implementations§
impl Freeze for GaugeRef
impl RefUnwindSafe for GaugeRef
impl Send for GaugeRef
impl Sync for GaugeRef
impl Unpin for GaugeRef
impl UnsafeUnpin for GaugeRef
impl UnwindSafe for GaugeRef
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