pub struct ConstantVariableDeclaration {
pub type_name: TypeName,
pub name: String,
pub initial_value: Expression,
}
Fields§
§type_name: TypeName
§name: String
§initial_value: Expression
Trait Implementations§
Source§impl Clone for ConstantVariableDeclaration
impl Clone for ConstantVariableDeclaration
Source§fn clone(&self) -> ConstantVariableDeclaration
fn clone(&self) -> ConstantVariableDeclaration
Returns a duplicate 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 ConstantVariableDeclaration
impl Debug for ConstantVariableDeclaration
impl StructuralPartialEq for ConstantVariableDeclaration
Auto Trait Implementations§
impl Freeze for ConstantVariableDeclaration
impl RefUnwindSafe for ConstantVariableDeclaration
impl Send for ConstantVariableDeclaration
impl Sync for ConstantVariableDeclaration
impl Unpin for ConstantVariableDeclaration
impl UnwindSafe for ConstantVariableDeclaration
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