#[non_exhaustive]pub enum CppDialect {
Cpp03,
Cpp11,
Cpp14,
Cpp17,
Cpp20,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CppDialect
impl Clone for CppDialect
Source§fn clone(&self) -> CppDialect
fn clone(&self) -> CppDialect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CppDialect
Source§impl Debug for CppDialect
impl Debug for CppDialect
Source§impl Display for CppDialect
impl Display for CppDialect
impl Eq for CppDialect
Source§impl Hash for CppDialect
impl Hash for CppDialect
Source§impl PartialEq for CppDialect
impl PartialEq for CppDialect
Source§fn eq(&self, other: &CppDialect) -> bool
fn eq(&self, other: &CppDialect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CppDialect
Auto Trait Implementations§
impl Freeze for CppDialect
impl RefUnwindSafe for CppDialect
impl Send for CppDialect
impl Sync for CppDialect
impl Unpin for CppDialect
impl UnsafeUnpin for CppDialect
impl UnwindSafe for CppDialect
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