pub enum Parameter {
Constant(f64),
Symbol(SymbolicParameter),
}Expand description
Parameter value representation for parametric gates
Variants§
Constant(f64)
Constant floating-point value
Symbol(SymbolicParameter)
Symbolic parameter with a name and optional value
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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