pub enum ComponentParameterValue {
Bits {
words: Vec<u64>,
width: u32,
},
String(String),
}Variants§
Trait Implementations§
Source§impl Clone for ComponentParameterValue
impl Clone for ComponentParameterValue
Source§fn clone(&self) -> ComponentParameterValue
fn clone(&self) -> ComponentParameterValue
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 ComponentParameterValue
impl Debug for ComponentParameterValue
Source§impl<'de> Deserialize<'de> for ComponentParameterValue
impl<'de> Deserialize<'de> for ComponentParameterValue
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
impl Eq for ComponentParameterValue
Source§impl PartialEq for ComponentParameterValue
impl PartialEq for ComponentParameterValue
Source§impl Serialize for ComponentParameterValue
impl Serialize for ComponentParameterValue
impl StructuralPartialEq for ComponentParameterValue
Auto Trait Implementations§
impl Freeze for ComponentParameterValue
impl RefUnwindSafe for ComponentParameterValue
impl Send for ComponentParameterValue
impl Sync for ComponentParameterValue
impl Unpin for ComponentParameterValue
impl UnsafeUnpin for ComponentParameterValue
impl UnwindSafe for ComponentParameterValue
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