pub struct CompilationLimits {
pub max_source_bytes: usize,
}Fields§
§max_source_bytes: usizeComplete UTF-8 source bytes, before removing comments or blank lines.
Trait Implementations§
Source§impl Clone for CompilationLimits
impl Clone for CompilationLimits
Source§fn clone(&self) -> CompilationLimits
fn clone(&self) -> CompilationLimits
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 CompilationLimits
Source§impl Debug for CompilationLimits
impl Debug for CompilationLimits
Source§impl Default for CompilationLimits
impl Default for CompilationLimits
Source§fn default() -> CompilationLimits
fn default() -> CompilationLimits
Returns the “default value” for a type. Read more
impl Eq for CompilationLimits
Source§impl PartialEq for CompilationLimits
impl PartialEq for CompilationLimits
Source§fn eq(&self, other: &CompilationLimits) -> bool
fn eq(&self, other: &CompilationLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompilationLimits
Auto Trait Implementations§
impl Freeze for CompilationLimits
impl RefUnwindSafe for CompilationLimits
impl Send for CompilationLimits
impl Sync for CompilationLimits
impl Unpin for CompilationLimits
impl UnsafeUnpin for CompilationLimits
impl UnwindSafe for CompilationLimits
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