pub struct Variable<'a> {
pub idx: usize,
pub name: &'a str,
pub unit: &'a str,
}
Expand description
A variable saved in an Analysis
.
Fields§
§idx: usize
The index of this variable in the list of saved data vectors.
name: &'a str
The name of the signal.
unit: &'a str
The signal units.
Trait Implementations§
source§impl<'de: 'a, 'a> Deserialize<'de> for Variable<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Variable<'a>
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<'a> PartialEq for Variable<'a>
impl<'a> PartialEq for Variable<'a>
impl<'a> StructuralPartialEq for Variable<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Variable<'a>
impl<'a> Send for Variable<'a>
impl<'a> Sync for Variable<'a>
impl<'a> Unpin for Variable<'a>
impl<'a> UnwindSafe for Variable<'a>
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