pub struct AnalysisOptions {
pub parse: ParseOptions,
pub source: SourceDescriptor,
pub site_config: Option<MermaidConfig>,
pub fixed_today: Option<NaiveDate>,
pub fixed_local_offset_minutes: Option<i32>,
pub max_source_bytes: Option<usize>,
pub rule_config: AnalysisRuleConfig,
}Fields§
§parse: ParseOptions§source: SourceDescriptor§site_config: Option<MermaidConfig>§fixed_today: Option<NaiveDate>§fixed_local_offset_minutes: Option<i32>§max_source_bytes: Option<usize>§rule_config: AnalysisRuleConfigImplementations§
Source§impl AnalysisOptions
impl AnalysisOptions
pub fn with_parse_options(self, parse: ParseOptions) -> Self
pub fn with_source(self, source: SourceDescriptor) -> Self
pub fn with_site_config(self, site_config: MermaidConfig) -> Self
pub fn with_fixed_today(self, today: Option<NaiveDate>) -> Self
pub fn with_fixed_local_offset_minutes( self, offset_minutes: Option<i32>, ) -> Self
pub fn with_max_source_bytes(self, max_source_bytes: Option<usize>) -> Self
pub fn with_rule_config(self, rule_config: AnalysisRuleConfig) -> Self
pub fn snapshot_affecting_eq(&self, other: &Self) -> bool
Trait Implementations§
Source§impl Clone for AnalysisOptions
impl Clone for AnalysisOptions
Source§fn clone(&self) -> AnalysisOptions
fn clone(&self) -> AnalysisOptions
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 moreSource§impl Debug for AnalysisOptions
impl Debug for AnalysisOptions
Source§impl Default for AnalysisOptions
impl Default for AnalysisOptions
Source§impl PartialEq for AnalysisOptions
impl PartialEq for AnalysisOptions
Source§fn eq(&self, other: &AnalysisOptions) -> bool
fn eq(&self, other: &AnalysisOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalysisOptions
Auto Trait Implementations§
impl Freeze for AnalysisOptions
impl RefUnwindSafe for AnalysisOptions
impl Send for AnalysisOptions
impl Sync for AnalysisOptions
impl Unpin for AnalysisOptions
impl UnsafeUnpin for AnalysisOptions
impl UnwindSafe for AnalysisOptions
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