pub struct ConfigCategory {
pub value: f64,
pub label: String,
}Fields§
§value: f64§label: StringImplementations§
Source§impl ConfigCategory
impl ConfigCategory
pub fn new(value: f64, label: String) -> ConfigCategory
Trait Implementations§
Source§impl Clone for ConfigCategory
impl Clone for ConfigCategory
Source§fn clone(&self) -> ConfigCategory
fn clone(&self) -> ConfigCategory
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 moreSource§impl Debug for ConfigCategory
impl Debug for ConfigCategory
Source§impl Default for ConfigCategory
impl Default for ConfigCategory
Source§fn default() -> ConfigCategory
fn default() -> ConfigCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigCategory
impl<'de> Deserialize<'de> for ConfigCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConfigCategory
impl PartialEq for ConfigCategory
Source§impl Serialize for ConfigCategory
impl Serialize for ConfigCategory
impl StructuralPartialEq for ConfigCategory
Auto Trait Implementations§
impl Freeze for ConfigCategory
impl RefUnwindSafe for ConfigCategory
impl Send for ConfigCategory
impl Sync for ConfigCategory
impl Unpin for ConfigCategory
impl UnwindSafe for ConfigCategory
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