pub struct CodingStylePrefs {
pub preferred_languages: Vec<String>,
pub indent: Option<String>,
pub indent_size: Option<u8>,
pub naming_convention: Option<String>,
pub comment_style: Option<String>,
}Expand description
Coding style preferences.
Fields§
§preferred_languages: Vec<String>Preferred languages.
indent: Option<String>Indentation type (“spaces” or “tabs”).
indent_size: Option<u8>Indentation size.
naming_convention: Option<String>Naming convention.
comment_style: Option<String>Comment style.
Trait Implementations§
Source§impl Clone for CodingStylePrefs
impl Clone for CodingStylePrefs
Source§fn clone(&self) -> CodingStylePrefs
fn clone(&self) -> CodingStylePrefs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodingStylePrefs
impl Debug for CodingStylePrefs
Source§impl Default for CodingStylePrefs
impl Default for CodingStylePrefs
Source§fn default() -> CodingStylePrefs
fn default() -> CodingStylePrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodingStylePrefs
impl<'de> Deserialize<'de> for CodingStylePrefs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CodingStylePrefs
impl RefUnwindSafe for CodingStylePrefs
impl Send for CodingStylePrefs
impl Sync for CodingStylePrefs
impl Unpin for CodingStylePrefs
impl UnsafeUnpin for CodingStylePrefs
impl UnwindSafe for CodingStylePrefs
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