Struct rust_format::Config
source · [−]pub struct Config<K, V> { /* private fields */ }
Expand description
The configuration for the formatters. Other than edition, these options should be considered proprietary to the formatter being used. They are not portable between formatters.
Currently, only RustFmt uses this and PrettyPlease doesn’t take any configuration
Implementations
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for Config<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Config<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for Config<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for Config<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for Config<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more