pub struct Signal { /* private fields */ }
Expand description
Signal metadata.
Implementations
sourceimpl 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.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more