pub enum MetricRef {
Px(Px),
Token {
key: &'static str,
fallback: MetricFallback,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl From<MetricRef> for MarginEdge
impl From<MetricRef> for MarginEdge
Source§impl From<MetricRef> for SignedMetricRef
impl From<MetricRef> for SignedMetricRef
Auto Trait Implementations§
impl Freeze for MetricRef
impl RefUnwindSafe for MetricRef
impl Send for MetricRef
impl Sync for MetricRef
impl Unpin for MetricRef
impl UnsafeUnpin for MetricRef
impl UnwindSafe for MetricRef
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