pub enum RuleExampleCase {
Source(RuleExampleSource),
Program(&'static [RuleExampleSource]),
CompilerOptions(CompilerLintOptions),
}Expand description
The typed execution phase for one catalog example.
Variants§
Source(RuleExampleSource)
Program(&'static [RuleExampleSource])
CompilerOptions(CompilerLintOptions)
Trait Implementations§
Source§impl Clone for RuleExampleCase
impl Clone for RuleExampleCase
Source§fn clone(&self) -> RuleExampleCase
fn clone(&self) -> RuleExampleCase
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 RuleExampleCase
Source§impl Debug for RuleExampleCase
impl Debug for RuleExampleCase
impl Eq for RuleExampleCase
Source§impl Hash for RuleExampleCase
impl Hash for RuleExampleCase
Source§impl PartialEq for RuleExampleCase
impl PartialEq for RuleExampleCase
impl StructuralPartialEq for RuleExampleCase
Auto Trait Implementations§
impl Freeze for RuleExampleCase
impl RefUnwindSafe for RuleExampleCase
impl Send for RuleExampleCase
impl Sync for RuleExampleCase
impl Unpin for RuleExampleCase
impl UnsafeUnpin for RuleExampleCase
impl UnwindSafe for RuleExampleCase
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