pub struct ItemProperty {
pub name: String,
pub values: Vec<(String, usize)>,
pub display_mode: usize,
pub progress: Option<f64>,
pub type: Option<usize>,
pub suffix: Option<String>,
}Fields§
§name: String§values: Vec<(String, usize)>§display_mode: usize§progress: Option<f64>§type: Option<usize>§suffix: Option<String>Trait Implementations§
Source§impl Clone for ItemProperty
impl Clone for ItemProperty
Source§fn clone(&self) -> ItemProperty
fn clone(&self) -> ItemProperty
Returns a duplicate 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 ItemProperty
impl Debug for ItemProperty
Source§impl Default for ItemProperty
impl Default for ItemProperty
Source§fn default() -> ItemProperty
fn default() -> ItemProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ItemProperty
impl<'de> Deserialize<'de> for ItemProperty
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
Auto Trait Implementations§
impl Freeze for ItemProperty
impl RefUnwindSafe for ItemProperty
impl Send for ItemProperty
impl Sync for ItemProperty
impl Unpin for ItemProperty
impl UnwindSafe for ItemProperty
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