pub struct AlgorithmLimits {
pub max_file_size: usize,
pub max_changed_file_size: usize,
pub max_fragments: usize,
pub max_generated_fragments: usize,
pub max_generated_lines: usize,
pub skip_expensive_threshold: usize,
pub rare_identifier_threshold: usize,
pub overhead_per_fragment: u32,
}Fields§
§max_file_size: usize§max_changed_file_size: usize§max_fragments: usize§max_generated_fragments: usize§max_generated_lines: usize§skip_expensive_threshold: usize§rare_identifier_threshold: usize§overhead_per_fragment: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlgorithmLimits
impl RefUnwindSafe for AlgorithmLimits
impl Send for AlgorithmLimits
impl Sync for AlgorithmLimits
impl Unpin for AlgorithmLimits
impl UnsafeUnpin for AlgorithmLimits
impl UnwindSafe for AlgorithmLimits
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> 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