pub enum CallParenType {
Always,
NoSingleString,
NoSingleTable,
None,
Input,
}
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.
Input
Keep call parentheses based on its presence in input code.
Trait Implementations§
Source§impl Clone for CallParenType
impl Clone for CallParenType
Source§fn clone(&self) -> CallParenType
fn clone(&self) -> CallParenType
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 CallParenType
impl Debug for CallParenType
Source§impl Default for CallParenType
impl Default for CallParenType
Source§fn default() -> CallParenType
fn default() -> CallParenType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallParenType
impl<'de> Deserialize<'de> for CallParenType
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 CallParenType
impl PartialEq for CallParenType
impl Copy for CallParenType
impl Eq for CallParenType
impl StructuralPartialEq for CallParenType
Auto Trait Implementations§
impl Freeze for CallParenType
impl RefUnwindSafe for CallParenType
impl Send for CallParenType
impl Sync for CallParenType
impl Unpin for CallParenType
impl UnwindSafe for CallParenType
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