pub struct NestingLimits {
pub max_depth: usize,
pub max_output: usize,
}Expand description
Explicit safety limits for recursive serial expansion.
Fields§
§max_depth: usizeMaximum recursive group depth, counting the outermost sequence as depth 1.
max_output: usizeMaximum number of terminal values emitted by expansion.
Trait Implementations§
Source§impl Clone for NestingLimits
impl Clone for NestingLimits
Source§fn clone(&self) -> NestingLimits
fn clone(&self) -> NestingLimits
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 NestingLimits
Source§impl Debug for NestingLimits
impl Debug for NestingLimits
impl Eq for NestingLimits
Source§impl PartialEq for NestingLimits
impl PartialEq for NestingLimits
impl StructuralPartialEq for NestingLimits
Auto Trait Implementations§
impl Freeze for NestingLimits
impl RefUnwindSafe for NestingLimits
impl Send for NestingLimits
impl Sync for NestingLimits
impl Unpin for NestingLimits
impl UnsafeUnpin for NestingLimits
impl UnwindSafe for NestingLimits
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