pub enum OutputStrategy {
Full,
NoTests,
Summary,
}Expand description
Output strategy for code extraction.
Ordering: Full < NoTests < Summary (increasing degradation level).
Variants§
Full
Include all source code verbatim.
NoTests
Strip test modules and test functions.
Summary
Extract signatures only, omit implementations.
Implementations§
Trait Implementations§
Source§impl Clone for OutputStrategy
impl Clone for OutputStrategy
Source§fn clone(&self) -> OutputStrategy
fn clone(&self) -> OutputStrategy
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputStrategy
impl Debug for OutputStrategy
Source§impl Default for OutputStrategy
impl Default for OutputStrategy
Source§fn default() -> OutputStrategy
fn default() -> OutputStrategy
Returns the “default value” for a type. Read more
Source§impl Display for OutputStrategy
impl Display for OutputStrategy
Source§impl Hash for OutputStrategy
impl Hash for OutputStrategy
Source§impl Ord for OutputStrategy
impl Ord for OutputStrategy
Source§fn cmp(&self, other: &OutputStrategy) -> Ordering
fn cmp(&self, other: &OutputStrategy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutputStrategy
impl PartialEq for OutputStrategy
Source§impl PartialOrd for OutputStrategy
impl PartialOrd for OutputStrategy
impl Copy for OutputStrategy
impl Eq for OutputStrategy
impl StructuralPartialEq for OutputStrategy
Auto Trait Implementations§
impl Freeze for OutputStrategy
impl RefUnwindSafe for OutputStrategy
impl Send for OutputStrategy
impl Sync for OutputStrategy
impl Unpin for OutputStrategy
impl UnsafeUnpin for OutputStrategy
impl UnwindSafe for OutputStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more