#[non_exhaustive]pub enum RdExampleControlKind {
DontRun,
DontTest,
DontShow,
DontDiff,
TestOnly,
}Expand description
The source-level spelling of an example-control wrapper.
This classifies spelling only and does not prescribe execution, visibility,
testing, or output-comparison behavior. \dontshow and \testonly are
deliberately distinct variants even though R treats them as synonyms:
views are a shape/spelling layer.
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 RdExampleControlKind
impl Clone for RdExampleControlKind
Source§fn clone(&self) -> RdExampleControlKind
fn clone(&self) -> RdExampleControlKind
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 RdExampleControlKind
Source§impl Debug for RdExampleControlKind
impl Debug for RdExampleControlKind
impl Eq for RdExampleControlKind
Source§impl PartialEq for RdExampleControlKind
impl PartialEq for RdExampleControlKind
impl StructuralPartialEq for RdExampleControlKind
Auto Trait Implementations§
impl Freeze for RdExampleControlKind
impl RefUnwindSafe for RdExampleControlKind
impl Send for RdExampleControlKind
impl Sync for RdExampleControlKind
impl Unpin for RdExampleControlKind
impl UnsafeUnpin for RdExampleControlKind
impl UnwindSafe for RdExampleControlKind
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