pub struct EventDef<Tag: Unique, At, Rt = ()> { /* private fields */ }
Expand description
type for declaring events.
example:
use dabus::event;
event!(TEST_EVENT, (), ());
Implementations§
Trait Implementations§
impl<Tag: Unique, At, Rt> Send for EventDef<Tag, At, Rt>
impl<Tag: Unique, At, Rt> Sync for EventDef<Tag, At, Rt>
Auto Trait Implementations§
impl<Tag, At, Rt> RefUnwindSafe for EventDef<Tag, At, Rt>where At: RefUnwindSafe, Rt: RefUnwindSafe, Tag: RefUnwindSafe,
impl<Tag, At, Rt> Unpin for EventDef<Tag, At, Rt>
impl<Tag, At, Rt> UnwindSafe for EventDef<Tag, At, Rt>where At: RefUnwindSafe, Rt: RefUnwindSafe, Tag: RefUnwindSafe,
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