pub struct VariableInfo {
pub id: SourceVarId,
pub path: Vec<String>,
pub var_kind: VariableKind,
pub signed: bool,
pub metadata: VariableMetadata,
pub packed_dims: Vec<usize>,
}Fields§
§id: SourceVarId§path: Vec<String>§var_kind: VariableKind§signed: bool§metadata: VariableMetadata§packed_dims: Vec<usize>Per-dimension sizes for the packed shape of the variable.
VariableMetadata::array_dims deliberately only describes unpacked
arrays because that is the source-independent storage shape. The
testbench adapter also needs packed shape for chained selects.
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 (const: unstable) · 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 Deref for VariableInfo
impl Deref for VariableInfo
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
Auto Trait Implementations§
impl Freeze for VariableInfo
impl RefUnwindSafe for VariableInfo
impl Send for VariableInfo
impl Sync for VariableInfo
impl Unpin for VariableInfo
impl UnsafeUnpin 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