pub struct Signal { /* private fields */ }
Expand description
Signal metadata.
Implementations§
§impl Signal
impl Signal
pub fn builder(name: &str) -> SignalBuilder
pub fn builder(name: &str) -> SignalBuilder
Create a new builder for a signal.
pub fn flags(&self) -> SignalFlags
pub fn flags(&self) -> SignalFlags
Flags of the signal.
pub fn param_types(&self) -> &[SignalType]
pub fn param_types(&self) -> &[SignalType]
Parameter types of the signal.
pub fn return_type(&self) -> SignalType
pub fn return_type(&self) -> SignalType
Return type of the signal.
Auto Trait Implementations§
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.