Struct ink_metadata::EventSpecBuilder
source · [−]pub struct EventSpecBuilder { /* private fields */ }
Expand description
An event specification builder.
Implementations
sourceimpl EventSpecBuilder
impl EventSpecBuilder
sourcepub fn args<A>(self, args: A) -> Self where
A: IntoIterator<Item = EventParamSpec>,
pub fn args<A>(self, args: A) -> Self where
A: IntoIterator<Item = EventParamSpec>,
Sets the input arguments of the event specification.
sourcepub fn docs<D>(self, docs: D) -> Self where
D: IntoIterator<Item = &'static str>,
pub fn docs<D>(self, docs: D) -> Self where
D: IntoIterator<Item = &'static str>,
Sets the input arguments of the event specification.
Auto Trait Implementations
impl RefUnwindSafe for EventSpecBuilder
impl Send for EventSpecBuilder
impl Sync for EventSpecBuilder
impl Unpin for EventSpecBuilder
impl UnwindSafe for EventSpecBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more