pub struct StaticRegexReplace { /* private fields */ }
Expand description
Builder for the StaticRegexReplace
operation.
Implementations§
Source§impl StaticRegexReplace
impl StaticRegexReplace
Sourcepub fn pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn pattern<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the pattern
attribute.
Sourcepub fn rewrite<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn rewrite<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the rewrite
attribute.
Sourcepub fn replace_global<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn replace_global<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the replace_global
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for StaticRegexReplace
impl Debug for StaticRegexReplace
Source§impl Default for StaticRegexReplace
impl Default for StaticRegexReplace
Source§fn default() -> StaticRegexReplace
fn default() -> StaticRegexReplace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StaticRegexReplace
impl RefUnwindSafe for StaticRegexReplace
impl Send for StaticRegexReplace
impl Sync for StaticRegexReplace
impl Unpin for StaticRegexReplace
impl UnwindSafe for StaticRegexReplace
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