pub enum VariableInfo {
Compound {
subfields: Vec<(String, VariableInfo)>,
},
Bits,
Bool,
Clock,
String,
Real,
}
Expand description
Static information about the structure of a variable.
Variants§
Trait Implementations§
Source§impl Clone for VariableInfo
impl Clone for VariableInfo
Source§fn clone(&self) -> VariableInfo
fn clone(&self) -> VariableInfo
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 VariableInfo
impl Debug for VariableInfo
Source§impl Default for VariableInfo
impl Default for VariableInfo
Source§fn default() -> VariableInfo
fn default() -> VariableInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariableInfo
impl<'de> Deserialize<'de> for VariableInfo
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 FromBytesOwned for VariableInfowhere
Json<Self>: FromBytesOwned,
impl FromBytesOwned for VariableInfowhere
Json<Self>: FromBytesOwned,
Source§impl Serialize for VariableInfo
impl Serialize for VariableInfo
Source§impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for VariableInfo
impl<'__to_bytes_a> ToBytes<'__to_bytes_a> for VariableInfo
Auto Trait Implementations§
impl Freeze for VariableInfo
impl RefUnwindSafe for VariableInfo
impl Send for VariableInfo
impl Sync for VariableInfo
impl Unpin for VariableInfo
impl UnwindSafe for VariableInfo
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