pub struct Signal { /* private fields */ }
Expand description
Signal metadata.
Implementations§
source§impl Signal
impl Signal
sourcepub fn builder<'a>(
name: &'a str,
param_types: &'a [SignalType],
return_type: SignalType
) -> SignalBuilder<'a>
pub fn builder<'a>( name: &'a str, param_types: &'a [SignalType], return_type: SignalType ) -> SignalBuilder<'a>
Create a new builder for a signal.
sourcepub fn flags(&self) -> SignalFlags
pub fn flags(&self) -> SignalFlags
Flags of the signal.
sourcepub fn param_types(&self) -> &[SignalType]
pub fn param_types(&self) -> &[SignalType]
Parameter types of the signal.
sourcepub fn return_type(&self) -> SignalType
pub fn return_type(&self) -> SignalType
Return type of the signal.