pub struct SignalQuery(/* private fields */);
Expand description
In-depth information of a specific signal
Implementations§
Source§impl SignalQuery
impl SignalQuery
Sourcepub fn signal_name<'a>(&self) -> &'a str
pub fn signal_name<'a>(&self) -> &'a str
The name of the signal.
Sourcepub fn flags(&self) -> SignalFlags
pub fn flags(&self) -> SignalFlags
The signal flags.
Sourcepub fn return_type(&self) -> SignalType
pub fn return_type(&self) -> SignalType
The return type for the user callback.
Sourcepub fn param_types(&self) -> &[SignalType]
pub fn param_types(&self) -> &[SignalType]
The parameters for the user callback.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignalQuery
impl RefUnwindSafe for SignalQuery
impl Unpin for SignalQuery
impl UnwindSafe for SignalQuery
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