pub struct StructMethodBuilder<'f1, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, S: State> StructMethodBuilder<'f1, S>
impl<'f1, S: State> StructMethodBuilder<'f1, S>
Sourcepub fn arg1(self, value: u32) -> StructMethodBuilder<'f1, SetArg1<S>>where
S::Arg1: IsUnset,
pub fn arg1(self, value: u32) -> StructMethodBuilder<'f1, SetArg1<S>>where
S::Arg1: IsUnset,
Required.
Sourcepub fn arg2(self, value: bool) -> StructMethodBuilder<'f1, SetArg2<S>>where
S::Arg2: IsUnset,
pub fn arg2(self, value: bool) -> StructMethodBuilder<'f1, SetArg2<S>>where
S::Arg2: IsUnset,
Required.
Auto Trait Implementations§
impl<'f1, S> Freeze for StructMethodBuilder<'f1, S>
impl<'f1, S> RefUnwindSafe for StructMethodBuilder<'f1, S>
impl<'f1, S> Send for StructMethodBuilder<'f1, S>
impl<'f1, S> Sync for StructMethodBuilder<'f1, S>
impl<'f1, S> Unpin for StructMethodBuilder<'f1, S>
impl<'f1, S> UnsafeUnpin for StructMethodBuilder<'f1, S>
impl<'f1, S> UnwindSafe for StructMethodBuilder<'f1, S>
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