pub struct Signal<'a> {
pub name: &'a str,
pub arguments: Box<[Argument<'a>]>,
pub annotations: Box<[Annotation<'a>]>,
pub doc: Doc<'a>,
}Expand description
A signal emitted by an interface.
Fields§
§name: &'a strThe name of the signal.
arguments: Box<[Argument<'a>]>The arguments carried by the signal.
annotations: Box<[Annotation<'a>]>Annotations applied to the signal.
doc: Doc<'a>Documentation associated with the signal.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Signal<'a>
impl<'a> RefUnwindSafe for Signal<'a>
impl<'a> Send for Signal<'a>
impl<'a> Sync for Signal<'a>
impl<'a> Unpin for Signal<'a>
impl<'a> UnsafeUnpin for Signal<'a>
impl<'a> UnwindSafe for Signal<'a>
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