pub enum SpaceAfterFunctionNames {
Never,
Definitions,
Calls,
Always,
}
Expand description
When to use spaces after function names
Variants§
Never
Never use spaces after function names.
Definitions
Use spaces after function names only for function definitions.
Calls
Use spaces after function names only for function calls.
Always
Use spaces after function names in definitions and calls.
Trait Implementations§
Source§impl Clone for SpaceAfterFunctionNames
impl Clone for SpaceAfterFunctionNames
Source§fn clone(&self) -> SpaceAfterFunctionNames
fn clone(&self) -> SpaceAfterFunctionNames
Returns a copy 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 SpaceAfterFunctionNames
impl Debug for SpaceAfterFunctionNames
Source§impl Default for SpaceAfterFunctionNames
impl Default for SpaceAfterFunctionNames
Source§fn default() -> SpaceAfterFunctionNames
fn default() -> SpaceAfterFunctionNames
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpaceAfterFunctionNames
impl<'de> Deserialize<'de> for SpaceAfterFunctionNames
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 SpaceAfterFunctionNames
impl PartialEq for SpaceAfterFunctionNames
impl Copy for SpaceAfterFunctionNames
impl Eq for SpaceAfterFunctionNames
impl StructuralPartialEq for SpaceAfterFunctionNames
Auto Trait Implementations§
impl Freeze for SpaceAfterFunctionNames
impl RefUnwindSafe for SpaceAfterFunctionNames
impl Send for SpaceAfterFunctionNames
impl Sync for SpaceAfterFunctionNames
impl Unpin for SpaceAfterFunctionNames
impl UnwindSafe for SpaceAfterFunctionNames
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