Enum dpc::common::DeclareBinding
source · pub enum DeclareBinding {
Null,
Value(Value),
Cast(DataType, MutableValue),
Condition(Condition),
}Variants§
Implementations§
source§impl DeclareBinding
impl DeclareBinding
pub fn get_ty( &self, regs: &RegisterList, sig: &FunctionSignature ) -> Result<Option<DataType>>
Trait Implementations§
source§impl Clone for DeclareBinding
impl Clone for DeclareBinding
source§fn clone(&self) -> DeclareBinding
fn clone(&self) -> DeclareBinding
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 DeclareBinding
impl Debug for DeclareBinding
source§impl GetUsedRegs for DeclareBinding
impl GetUsedRegs for DeclareBinding
fn append_used_regs<'a>(&'a self, regs: &mut Vec<&'a Identifier>)
fn get_used_regs(&self) -> Vec<&Identifier>
source§impl PartialEq for DeclareBinding
impl PartialEq for DeclareBinding
source§fn eq(&self, other: &DeclareBinding) -> bool
fn eq(&self, other: &DeclareBinding) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeclareBinding
Auto Trait Implementations§
impl RefUnwindSafe for DeclareBinding
impl Send for DeclareBinding
impl Sync for DeclareBinding
impl Unpin for DeclareBinding
impl UnwindSafe for DeclareBinding
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