pub struct CounterDescriptor {
pub name: &'static str,
pub unit: &'static str,
pub id: CounterId,
pub format: Format,
pub color: Color,
pub safe_range: Option<Range<f32>>,
}Fields§
§name: &'static str§unit: &'static str§id: CounterId§format: Format§color: Color§safe_range: Option<Range<f32>>Implementations§
Trait Implementations§
Source§impl Clone for CounterDescriptor
impl Clone for CounterDescriptor
Source§fn clone(&self) -> CounterDescriptor
fn clone(&self) -> CounterDescriptor
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 CounterDescriptor
impl RefUnwindSafe for CounterDescriptor
impl Send for CounterDescriptor
impl Sync for CounterDescriptor
impl Unpin for CounterDescriptor
impl UnwindSafe for CounterDescriptor
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