Struct semantic_analyzer::types::Constant
source · pub struct Constant {
pub name: ConstantName,
pub constant_type: Type,
pub constant_value: ConstantExpression,
}
Expand description
Constant
Can contain: name, type
Fields§
§name: ConstantName
§constant_type: Type
§constant_value: ConstantExpression
Trait Implementations§
source§impl PartialEq<Constant> for Constant
impl PartialEq<Constant> for Constant
impl StructuralPartialEq for Constant
Auto Trait Implementations§
impl RefUnwindSafe for Constant
impl Send for Constant
impl Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
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