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 !Freeze for Signal
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