pub struct VariableUse { /* private fields */ }Expand description
A variable use (a variable, component or signal read or write).
Implementations§
Source§impl VariableUse
impl VariableUse
pub fn new( meta: &Meta, name: &VariableName, access: &[AccessType], ) -> VariableUse
pub fn meta(&self) -> &Meta
pub fn name(&self) -> &VariableName
pub fn access(&self) -> &Vec<AccessType>
Trait Implementations§
Source§impl Clone for VariableUse
impl Clone for VariableUse
Source§fn clone(&self) -> VariableUse
fn clone(&self) -> VariableUse
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 Display for VariableUse
impl Display for VariableUse
Source§impl Hash for VariableUse
impl Hash for VariableUse
Source§impl PartialEq for VariableUse
impl PartialEq for VariableUse
impl Eq for VariableUse
impl StructuralPartialEq for VariableUse
Auto Trait Implementations§
impl Freeze for VariableUse
impl RefUnwindSafe for VariableUse
impl Send for VariableUse
impl Sync for VariableUse
impl Unpin for VariableUse
impl UnwindSafe for VariableUse
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