pub struct TextConfigBuilder(/* private fields */);Expand description
Builder for TextConfig.
Implementations§
Source§impl TextConfigBuilder
impl TextConfigBuilder
pub fn format(self, value: impl Into<TextFormat>) -> Self
pub fn verbosity(self, value: impl Into<Option<TextVerbosity>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> TextConfig
pub fn build(self) -> TextConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for TextConfigBuilder
impl RefUnwindSafe for TextConfigBuilder
impl Send for TextConfigBuilder
impl Sync for TextConfigBuilder
impl Unpin for TextConfigBuilder
impl UnsafeUnpin for TextConfigBuilder
impl UnwindSafe for TextConfigBuilder
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