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
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 RefUnwindSafe for CallParenType
impl Send for CallParenType
impl Sync for CallParenType
impl Unpin for CallParenType
impl UnwindSafe for CallParenType
Blanket Implementations
Mutably borrows from an owned value. Read more