Struct dprint_core::plugins::NoopHost
source · pub struct NoopHost;
Expand description
Implementation of Host that always returns that it can’t format something.
Trait Implementations§
source§impl Host for NoopHost
impl Host for NoopHost
fn format(&self, _: HostFormatRequest) -> BoxFuture<'_, FormatResult>
Auto Trait Implementations§
impl RefUnwindSafe for NoopHost
impl Send for NoopHost
impl Sync for NoopHost
impl Unpin for NoopHost
impl UnwindSafe for NoopHost
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