pub struct BatchLimits {
pub max_source_bytes: usize,
pub max_edits: usize,
pub max_before_bytes: usize,
pub max_replacement_bytes: usize,
pub max_output_bytes: usize,
}Expand description
Hard resource limits for incrementally building one original-source batch.
Fields§
§max_source_bytes: usize§max_edits: usize§max_before_bytes: usize§max_replacement_bytes: usize§max_output_bytes: usizeTrait Implementations§
Source§impl Clone for BatchLimits
impl Clone for BatchLimits
Source§fn clone(&self) -> BatchLimits
fn clone(&self) -> BatchLimits
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 BatchLimits
Source§impl Debug for BatchLimits
impl Debug for BatchLimits
Source§impl Default for BatchLimits
impl Default for BatchLimits
impl Eq for BatchLimits
Source§impl PartialEq for BatchLimits
impl PartialEq for BatchLimits
impl StructuralPartialEq for BatchLimits
Auto Trait Implementations§
impl Freeze for BatchLimits
impl RefUnwindSafe for BatchLimits
impl Send for BatchLimits
impl Sync for BatchLimits
impl Unpin for BatchLimits
impl UnsafeUnpin for BatchLimits
impl UnwindSafe for BatchLimits
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