Struct sise::ParseLimits
source · pub struct ParseLimits { /* private fields */ }
Expand description
Structure to specify parsing limits.
Implementations§
source§impl ParseLimits
impl ParseLimits
sourcepub fn max_depth(self, max_depth: usize) -> Self
pub fn max_depth(self, max_depth: usize) -> Self
Modifies the value of max_depth
in self
and returns
the modified self
.
sourcepub fn max_atom_len(self, max_atom_len: usize) -> Self
pub fn max_atom_len(self, max_atom_len: usize) -> Self
Modifies the value of max_atom_len
in self
and returns
the modified self
.
sourcepub fn max_list_len(self, max_list_len: usize) -> Self
pub fn max_list_len(self, max_list_len: usize) -> Self
Modifies the value of max_list_len
in self
and returns
the modified self
.
Trait Implementations§
source§impl Clone for ParseLimits
impl Clone for ParseLimits
source§fn clone(&self) -> ParseLimits
fn clone(&self) -> ParseLimits
Returns a copy 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 more