pub struct ConfigVariable {
pub reference: AstNode,
pub data_type: DataTypeDeclaration,
pub address: AstNode,
pub location: SourceLocation,
}Fields§
§reference: AstNode§data_type: DataTypeDeclaration§address: AstNode§location: SourceLocationImplementations§
Source§impl ConfigVariable
impl ConfigVariable
pub fn new( reference: AstNode, data_type: DataTypeDeclaration, address: AstNode, location: SourceLocation, ) -> Self
Trait Implementations§
Source§impl Clone for ConfigVariable
impl Clone for ConfigVariable
Source§fn clone(&self) -> ConfigVariable
fn clone(&self) -> ConfigVariable
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 ConfigVariable
impl Debug for ConfigVariable
Source§impl<'de> Deserialize<'de> for ConfigVariablewhere
'de: 'static,
impl<'de> Deserialize<'de> for ConfigVariablewhere
'de: 'static,
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
Source§impl PartialEq for ConfigVariable
impl PartialEq for ConfigVariable
Source§fn eq(&self, other: &ConfigVariable) -> bool
fn eq(&self, other: &ConfigVariable) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigVariable
impl Serialize for ConfigVariable
Source§impl Walker for ConfigVariable
impl Walker for ConfigVariable
fn walk<V>(&self, _visitor: &mut V)where
V: AstVisitor,
impl StructuralPartialEq for ConfigVariable
Auto Trait Implementations§
impl Freeze for ConfigVariable
impl RefUnwindSafe for ConfigVariable
impl Send for ConfigVariable
impl Sync for ConfigVariable
impl Unpin for ConfigVariable
impl UnsafeUnpin for ConfigVariable
impl UnwindSafe for ConfigVariable
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