Enum dpc::common::val::ScoreValue
source · pub enum ScoreValue {
Constant(ScoreTypeContents),
Mutable(MutableScoreValue),
}Variants§
Constant(ScoreTypeContents)
Mutable(MutableScoreValue)
Implementations§
source§impl ScoreValue
impl ScoreValue
pub fn get_used_regs_mut(&mut self) -> Vec<&mut Identifier>
pub fn is_value_eq(&self, other: &Self) -> bool
Trait Implementations§
source§impl Clone for ScoreValue
impl Clone for ScoreValue
source§fn clone(&self) -> ScoreValue
fn clone(&self) -> ScoreValue
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 Codegen for ScoreValue
impl Codegen for ScoreValue
fn gen_writer<F>(
&self,
f: &mut F,
cbcx: &mut CodegenBlockCx<'_, '_>
) -> Result<()>where
F: Write,
fn gen_str(&self, cbcx: &mut CodegenBlockCx<'_, '_>) -> Result<String>
source§impl Debug for ScoreValue
impl Debug for ScoreValue
source§impl GetUsedRegs for ScoreValue
impl GetUsedRegs for ScoreValue
fn append_used_regs<'a>(&'a self, regs: &mut Vec<&'a Identifier>)
fn get_used_regs(&self) -> Vec<&Identifier>
Auto Trait Implementations§
impl RefUnwindSafe for ScoreValue
impl Send for ScoreValue
impl Sync for ScoreValue
impl Unpin for ScoreValue
impl UnwindSafe for ScoreValue
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