Enum budvm::ValueSource
source · pub enum ValueSource {
Argument(usize),
Variable(usize),
}
Expand description
The source of a value.
Variants§
Argument(usize)
The value is in an argument at the provided 0-based index.
Variable(usize)
The value is in a variable at the provided 0-based index.
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.
source§impl PartialEq<ValueSource> for ValueSource
impl PartialEq<ValueSource> for ValueSource
source§fn eq(&self, other: &ValueSource) -> bool
fn eq(&self, other: &ValueSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.