pub struct EventBuilder { /* private fields */ }Expand description
事件构建器
提供流式 API 来构建事件。
Implementations§
Source§impl EventBuilder
impl EventBuilder
Sourcepub fn build(self) -> GlobalEvent
pub fn build(self) -> GlobalEvent
构建事件
Auto Trait Implementations§
impl Freeze for EventBuilder
impl RefUnwindSafe for EventBuilder
impl Send for EventBuilder
impl Sync for EventBuilder
impl Unpin for EventBuilder
impl UnsafeUnpin for EventBuilder
impl UnwindSafe for EventBuilder
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