pub struct RecommendedGlobalConfiguration {
pub line_width: u32,
pub use_tabs: bool,
pub indent_width: u8,
pub new_line_kind: NewLineKind,
}
Fields§
§line_width: u32
§use_tabs: bool
§indent_width: u8
§new_line_kind: NewLineKind
Trait Implementations§
source§impl From<RecommendedGlobalConfiguration> for GlobalConfiguration
impl From<RecommendedGlobalConfiguration> for GlobalConfiguration
source§fn from(config: RecommendedGlobalConfiguration) -> Self
fn from(config: RecommendedGlobalConfiguration) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecommendedGlobalConfiguration
impl RefUnwindSafe for RecommendedGlobalConfiguration
impl Send for RecommendedGlobalConfiguration
impl Sync for RecommendedGlobalConfiguration
impl Unpin for RecommendedGlobalConfiguration
impl UnwindSafe for RecommendedGlobalConfiguration
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