Enum stylua_lib::CallParenType
source · [−]pub enum CallParenType {
Always,
NoSingleString,
NoSingleTable,
None,
}
Expand description
When to use call parentheses
Variants
Always
Use call parentheses all the time
NoSingleString
Skip call parentheses when only a string argument is used.
NoSingleTable
Skip call parentheses when only a table argument is used.
None
Skip call parentheses when only a table or string argument is used.
Trait Implementations
sourceimpl Clone for CallParenType
impl Clone for CallParenType
sourcefn clone(&self) -> CallParenType
fn clone(&self) -> CallParenType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CallParenType
impl Debug for CallParenType
sourceimpl Default for CallParenType
impl Default for CallParenType
sourceimpl<'de> Deserialize<'de> for CallParenType
impl<'de> Deserialize<'de> for CallParenType
sourcefn 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
sourceimpl PartialEq<CallParenType> for CallParenType
impl PartialEq<CallParenType> for CallParenType
impl Copy for CallParenType
impl StructuralPartialEq for CallParenType
Auto Trait Implementations
impl RefUnwindSafe for CallParenType
impl Send for CallParenType
impl Sync for CallParenType
impl Unpin for CallParenType
impl UnwindSafe for CallParenType
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