pub struct ProcessDecl {
pub name: CompactString,
pub params: Vec<ProcessParam>,
pub signals: Vec<ProcessSignalDecl>,
pub return_ty: Option<TypeExpr>,
pub label: Option<LabelMetadata>,
pub body: Expr,
}Fields§
§name: CompactString§params: Vec<ProcessParam>§signals: Vec<ProcessSignalDecl>§return_ty: Option<TypeExpr>§label: Option<LabelMetadata>§body: ExprTrait Implementations§
Source§impl Clone for ProcessDecl
impl Clone for ProcessDecl
Source§fn clone(&self) -> ProcessDecl
fn clone(&self) -> ProcessDecl
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 ProcessDecl
impl Debug for ProcessDecl
Source§impl<'de> Deserialize<'de> for ProcessDecl
impl<'de> Deserialize<'de> for ProcessDecl
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 ProcessDecl
impl PartialEq for ProcessDecl
Source§fn eq(&self, other: &ProcessDecl) -> bool
fn eq(&self, other: &ProcessDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessDecl
impl Serialize for ProcessDecl
impl StructuralPartialEq for ProcessDecl
Auto Trait Implementations§
impl Freeze for ProcessDecl
impl RefUnwindSafe for ProcessDecl
impl Send for ProcessDecl
impl Sync for ProcessDecl
impl Unpin for ProcessDecl
impl UnsafeUnpin for ProcessDecl
impl UnwindSafe for ProcessDecl
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