pub struct EventBuilder { /* private fields */ }
Implementations§
Source§impl EventBuilder
impl EventBuilder
pub fn new(name: String) -> Self
pub fn build(self) -> EventDefinition
pub fn parameter( &mut self, type_name: TypeName, name: Option<String>, ) -> &mut Self
pub fn indexed_parameter( &mut self, type_name: TypeName, name: Option<String>, ) -> &mut Self
pub fn anonymous(&mut self) -> &mut Self
Trait Implementations§
Source§impl Clone for EventBuilder
impl Clone for EventBuilder
Source§fn clone(&self) -> EventBuilder
fn clone(&self) -> EventBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EventBuilder
impl RefUnwindSafe for EventBuilder
impl Send for EventBuilder
impl Sync for EventBuilder
impl Unpin 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