pub enum TermFmt<Bundle> {
Direct(DirectTermFmt),
Bundled(BundledTermFmt, Bundle),
}Variants§
Implementations§
Source§impl<Bundle> TermFmt<Bundle>
impl<Bundle> TermFmt<Bundle>
pub fn new_plain() -> Self
pub fn new_interactive() -> Self
pub fn new_json(bundle: Bundle) -> Self
pub fn bundle(&mut self, modify: impl Fn(&mut Bundle))
pub fn plain(&self, value: impl Display)
pub fn is_plain(&self) -> bool
pub fn is_interactive(&self) -> bool
pub fn flush(&mut self) -> Result<()>
Auto Trait Implementations§
impl<Bundle> Freeze for TermFmt<Bundle>where
Bundle: Freeze,
impl<Bundle> RefUnwindSafe for TermFmt<Bundle>where
Bundle: RefUnwindSafe,
impl<Bundle> Send for TermFmt<Bundle>where
Bundle: Send,
impl<Bundle> Sync for TermFmt<Bundle>where
Bundle: Sync,
impl<Bundle> Unpin for TermFmt<Bundle>where
Bundle: Unpin,
impl<Bundle> UnwindSafe for TermFmt<Bundle>where
Bundle: UnwindSafe,
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