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 name
constant_type: Type
Constant type
constant_value: ConstantExpression
Constant value represented through constant expression
Trait Implementations§
impl StructuralPartialEq for Constant
Auto Trait Implementations§
impl Freeze for Constant
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