pub struct CommandReplacementBuilder<'t> { /* private fields */ }Expand description
Builder for CommandReplacement.
Implementations§
Source§impl<'t> CommandReplacementBuilder<'t>
impl<'t> CommandReplacementBuilder<'t>
pub fn token_l_bracket(&mut self, value: Box<TokenLBracket<'t>>) -> &mut Self
pub fn command(&mut self, value: Box<Command<'t>>) -> &mut Self
pub fn token_r_bracket(&mut self, value: Box<TokenRBracket<'t>>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<CommandReplacement<'t>, CommandReplacementBuilderError>
pub fn build( &self, ) -> Result<CommandReplacement<'t>, CommandReplacementBuilderError>
Trait Implementations§
Source§impl<'t> Clone for CommandReplacementBuilder<'t>
impl<'t> Clone for CommandReplacementBuilder<'t>
Source§fn clone(&self) -> CommandReplacementBuilder<'t>
fn clone(&self) -> CommandReplacementBuilder<'t>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'t> Freeze for CommandReplacementBuilder<'t>
impl<'t> RefUnwindSafe for CommandReplacementBuilder<'t>
impl<'t> Send for CommandReplacementBuilder<'t>
impl<'t> Sync for CommandReplacementBuilder<'t>
impl<'t> Unpin for CommandReplacementBuilder<'t>
impl<'t> UnsafeUnpin for CommandReplacementBuilder<'t>
impl<'t> UnwindSafe for CommandReplacementBuilder<'t>
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