pub struct PlaceValUnit {
pub place: String,
pub value: f32,
pub unit: String,
}
Expand description
value
with its unit
in specified place
.
Fields§
§place: String
§value: f32
§unit: String
Trait Implementations§
Source§impl Clone for PlaceValUnit
impl Clone for PlaceValUnit
Source§fn clone(&self) -> PlaceValUnit
fn clone(&self) -> PlaceValUnit
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 PlaceValUnit
impl Debug for PlaceValUnit
Source§impl<'de> Deserialize<'de> for PlaceValUnit
impl<'de> Deserialize<'de> for PlaceValUnit
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 PlaceValUnit
impl PartialEq for PlaceValUnit
impl StructuralPartialEq for PlaceValUnit
Auto Trait Implementations§
impl Freeze for PlaceValUnit
impl RefUnwindSafe for PlaceValUnit
impl Send for PlaceValUnit
impl Sync for PlaceValUnit
impl Unpin for PlaceValUnit
impl UnwindSafe for PlaceValUnit
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