Enum budvm::ir::ValueSource
source · pub enum ValueSource {
Argument(usize),
Variable(Variable),
}
Expand description
The source of a value.
Variants§
Argument(usize)
The value is in an argument at the provided 0-based index.
Variable(Variable)
The value is in a variable specified.
Trait Implementations§
source§impl Clone for ValueSource
impl Clone for ValueSource
source§fn clone(&self) -> ValueSource
fn clone(&self) -> ValueSource
Returns a copy 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 ValueSource
impl Debug for ValueSource
source§impl Display for ValueSource
impl Display for ValueSource
source§impl<'a> From<&'a ValueSource> for ValueSource
impl<'a> From<&'a ValueSource> for ValueSource
source§fn from(source: &'a ValueSource) -> Self
fn from(source: &'a ValueSource) -> Self
Converts to this type from the input type.