pub struct Signal { /* private fields */ }
Expand description
Signal metadata.
Implementations§
source§impl Signal
impl Signal
sourcepub fn builder(name: &str) -> SignalBuilder
pub fn builder(name: &str) -> SignalBuilder
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§
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