pub struct KeyConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> KeyConstructorBuilder<S>
impl<S: State> KeyConstructorBuilder<S>
Sourcepub fn build(self) -> KeyConstructorwhere
S: IsComplete,
pub fn build(self) -> KeyConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn key_base(
self,
value: KeyBaseNode,
) -> KeyConstructorBuilder<SetKeyBase<S>>where
S::KeyBase: IsUnset,
pub fn key_base(
self,
value: KeyBaseNode,
) -> KeyConstructorBuilder<SetKeyBase<S>>where
S::KeyBase: IsUnset,
Required.
Sourcepub fn key_opt(self, value: KeyOptNode) -> KeyConstructorBuilder<SetKeyOpt<S>>where
S::KeyOpt: IsUnset,
pub fn key_opt(self, value: KeyOptNode) -> KeyConstructorBuilder<SetKeyOpt<S>>where
S::KeyOpt: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for KeyConstructorBuilder<S>
impl<S> RefUnwindSafe for KeyConstructorBuilder<S>
impl<S> Send for KeyConstructorBuilder<S>
impl<S> Sync for KeyConstructorBuilder<S>
impl<S> Unpin for KeyConstructorBuilder<S>
impl<S> UnwindSafe for KeyConstructorBuilder<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