pub struct NamingConventions {
pub function_case: CaseStyle,
pub variable_case: CaseStyle,
pub class_case: CaseStyle,
pub constant_case: CaseStyle,
}Expand description
Naming conventions
Fields§
§function_case: CaseStyleFunction naming case style
variable_case: CaseStyleVariable naming case style
class_case: CaseStyleClass/type naming case style
constant_case: CaseStyleConstant naming case style
Trait Implementations§
Source§impl Clone for NamingConventions
impl Clone for NamingConventions
Source§fn clone(&self) -> NamingConventions
fn clone(&self) -> NamingConventions
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 NamingConventions
impl Debug for NamingConventions
Source§impl Default for NamingConventions
impl Default for NamingConventions
Source§impl<'de> Deserialize<'de> for NamingConventions
impl<'de> Deserialize<'de> for NamingConventions
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
Source§impl PartialEq for NamingConventions
impl PartialEq for NamingConventions
Source§impl Serialize for NamingConventions
impl Serialize for NamingConventions
impl Eq for NamingConventions
impl StructuralPartialEq for NamingConventions
Auto Trait Implementations§
impl Freeze for NamingConventions
impl RefUnwindSafe for NamingConventions
impl Send for NamingConventions
impl Sync for NamingConventions
impl Unpin for NamingConventions
impl UnwindSafe for NamingConventions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.