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