pub struct ConstantExpression {
pub location: InstructionLocation,
pub value: Value,
}Fields§
§location: InstructionLocation§value: ValueTrait Implementations§
Source§impl Clone for ConstantExpression
impl Clone for ConstantExpression
Source§fn clone(&self) -> ConstantExpression
fn clone(&self) -> ConstantExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstantExpression
impl Debug for ConstantExpression
Source§impl<'de> Deserialize<'de> for ConstantExpression
impl<'de> Deserialize<'de> for ConstantExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConstantExpression
impl RefUnwindSafe for ConstantExpression
impl Send for ConstantExpression
impl Sync for ConstantExpression
impl Unpin for ConstantExpression
impl UnsafeUnpin for ConstantExpression
impl UnwindSafe for ConstantExpression
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