pub struct SignalDecl {
pub cfg: Vec<Attribute>,
pub path: Path,
pub index: Option<Expr>,
pub observed: Option<Ident>,
pub beat: Option<Ident>,
pub veto: Option<Ident>,
pub via: Option<Expr>,
}Expand description
A single entry in a reads: or writes: signal list.
Fields§
§cfg: Vec<Attribute>#[cfg(...)] attributes attached to this entry.
path: PathThe path to the signal static.
index: Option<Expr>An array index, if the entry names one element (SIGNAL[i]).
observed: Option<Ident>Present when the entry is marked observed.
beat: Option<Ident>Present when the entry is marked beat.
veto: Option<Ident>Present when the entry is marked veto: this writer holds one
contributor slot of a VetoGate.
via: Option<Expr>The accessor expression supplied by observed via <expr>.
Implementations§
Source§impl SignalDecl
impl SignalDecl
Trait Implementations§
Source§impl Clone for SignalDecl
impl Clone for SignalDecl
Source§fn clone(&self) -> SignalDecl
fn clone(&self) -> SignalDecl
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 moreAuto Trait Implementations§
impl !Send for SignalDecl
impl !Sync for SignalDecl
impl Freeze for SignalDecl
impl RefUnwindSafe for SignalDecl
impl Unpin for SignalDecl
impl UnsafeUnpin for SignalDecl
impl UnwindSafe for SignalDecl
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