pub struct ArrayElementsConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ArrayElementsConstructorBuilder<S>
impl<S: State> ArrayElementsConstructorBuilder<S>
Sourcepub fn build(self) -> ArrayElementsConstructorwhere
S: IsComplete,
pub fn build(self) -> ArrayElementsConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn value(
self,
value: ValueNode,
) -> ArrayElementsConstructorBuilder<SetValue<S>>where
S::Value: IsUnset,
pub fn value(
self,
value: ValueNode,
) -> ArrayElementsConstructorBuilder<SetValue<S>>where
S::Value: IsUnset,
Required.
Sourcepub fn array_elements_opt(
self,
value: ArrayElementsOptNode,
) -> ArrayElementsConstructorBuilder<SetArrayElementsOpt<S>>where
S::ArrayElementsOpt: IsUnset,
pub fn array_elements_opt(
self,
value: ArrayElementsOptNode,
) -> ArrayElementsConstructorBuilder<SetArrayElementsOpt<S>>where
S::ArrayElementsOpt: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ArrayElementsConstructorBuilder<S>
impl<S> RefUnwindSafe for ArrayElementsConstructorBuilder<S>
impl<S> Send for ArrayElementsConstructorBuilder<S>
impl<S> Sync for ArrayElementsConstructorBuilder<S>
impl<S> Unpin for ArrayElementsConstructorBuilder<S>
impl<S> UnwindSafe for ArrayElementsConstructorBuilder<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