pub enum SemiColons {
Always,
Prefer,
Asi,
}
Expand description
Semi colon possibilities.
Variants
Always
Always uses semi-colons where applicable.
Prefer
Prefers to use semi-colons, but doesn’t add one in certain scenarios such as for the last member of a single-line type literal.
Asi
Uses automatic semi-colon insertion. Only adds a semi-colon at the start of some expression statements when necessary.
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 SemiColons
impl Send for SemiColons
impl Sync for SemiColons
impl Unpin for SemiColons
impl UnwindSafe for SemiColons
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more