#[non_exhaustive]pub enum CompileDirectiveAction {
Use,
No,
Require,
}Expand description
Compile-time directive action.
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 CompileDirectiveAction
impl Clone for CompileDirectiveAction
Source§fn clone(&self) -> CompileDirectiveAction
fn clone(&self) -> CompileDirectiveAction
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 moreSource§impl Debug for CompileDirectiveAction
impl Debug for CompileDirectiveAction
Source§impl Hash for CompileDirectiveAction
impl Hash for CompileDirectiveAction
Source§impl PartialEq for CompileDirectiveAction
impl PartialEq for CompileDirectiveAction
Source§fn eq(&self, other: &CompileDirectiveAction) -> bool
fn eq(&self, other: &CompileDirectiveAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompileDirectiveAction
impl Eq for CompileDirectiveAction
impl StructuralPartialEq for CompileDirectiveAction
Auto Trait Implementations§
impl Freeze for CompileDirectiveAction
impl RefUnwindSafe for CompileDirectiveAction
impl Send for CompileDirectiveAction
impl Sync for CompileDirectiveAction
impl Unpin for CompileDirectiveAction
impl UnsafeUnpin for CompileDirectiveAction
impl UnwindSafe for CompileDirectiveAction
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