pub struct ApplyLimits {
pub max_source_bytes: usize,
pub max_edits: usize,
pub max_output_bytes: usize,
}Expand description
Bounded in-memory application limits for one source file.
Fields§
§max_source_bytes: usize§max_edits: usize§max_output_bytes: usizeTrait Implementations§
Source§impl Clone for ApplyLimits
impl Clone for ApplyLimits
Source§fn clone(&self) -> ApplyLimits
fn clone(&self) -> ApplyLimits
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 ApplyLimits
Source§impl Debug for ApplyLimits
impl Debug for ApplyLimits
Source§impl Default for ApplyLimits
impl Default for ApplyLimits
impl Eq for ApplyLimits
Source§impl PartialEq for ApplyLimits
impl PartialEq for ApplyLimits
impl StructuralPartialEq for ApplyLimits
Auto Trait Implementations§
impl Freeze for ApplyLimits
impl RefUnwindSafe for ApplyLimits
impl Send for ApplyLimits
impl Sync for ApplyLimits
impl Unpin for ApplyLimits
impl UnsafeUnpin for ApplyLimits
impl UnwindSafe for ApplyLimits
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