pub struct RuleOptions {
pub finish: bool,
pub maxmul: usize,
pub include: String,
pub exclude: String,
pub start: String,
pub history: Option<usize>,
}Fields§
§finish: bool§maxmul: usize§include: String§exclude: String§start: String§history: Option<usize>How many predecessor snapshots a rule can reach through prev:
the prev_rule chain a replace or a push links is cut past this
many links, so a sequence’s iterations are not all kept until its
container closes. None keeps every link, which is the canonical
behaviour and the default (doc/rule-history-bound.md). Read as
1 to MAX_RULE_HISTORY: Some(0) as 1, a larger value as the
cap.
Trait Implementations§
Source§impl Clone for RuleOptions
impl Clone for RuleOptions
Source§impl Debug for RuleOptions
impl Debug for RuleOptions
Auto Trait Implementations§
impl Freeze for RuleOptions
impl RefUnwindSafe for RuleOptions
impl Send for RuleOptions
impl Sync for RuleOptions
impl Unpin for RuleOptions
impl UnsafeUnpin for RuleOptions
impl UnwindSafe for RuleOptions
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