pub struct KeyTupleOptConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> KeyTupleOptConstructorBuilder<S>
impl<S: State> KeyTupleOptConstructorBuilder<S>
Sourcepub fn build(self) -> KeyTupleOptConstructorwhere
S: IsComplete,
pub fn build(self) -> KeyTupleOptConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn key_tuple_elements(
self,
value: KeyTupleElementsNode,
) -> KeyTupleOptConstructorBuilder<SetKeyTupleElements<S>>where
S::KeyTupleElements: IsUnset,
pub fn key_tuple_elements(
self,
value: KeyTupleElementsNode,
) -> KeyTupleOptConstructorBuilder<SetKeyTupleElements<S>>where
S::KeyTupleElements: IsUnset,
Sourcepub fn maybe_key_tuple_elements(
self,
value: Option<KeyTupleElementsNode>,
) -> KeyTupleOptConstructorBuilder<SetKeyTupleElements<S>>where
S::KeyTupleElements: IsUnset,
pub fn maybe_key_tuple_elements(
self,
value: Option<KeyTupleElementsNode>,
) -> KeyTupleOptConstructorBuilder<SetKeyTupleElements<S>>where
S::KeyTupleElements: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for KeyTupleOptConstructorBuilder<S>
impl<S> RefUnwindSafe for KeyTupleOptConstructorBuilder<S>
impl<S> Send for KeyTupleOptConstructorBuilder<S>
impl<S> Sync for KeyTupleOptConstructorBuilder<S>
impl<S> Unpin for KeyTupleOptConstructorBuilder<S>
impl<S> UnwindSafe for KeyTupleOptConstructorBuilder<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