pub struct ContentRuleProvider;Expand description
Provider for content quality rules (CONTENT001+)
Trait Implementations§
Source§impl RuleProvider for ContentRuleProvider
impl RuleProvider for ContentRuleProvider
Source§fn provider_id(&self) -> &'static str
fn provider_id(&self) -> &'static str
Unique identifier for this rule provider
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description of this rule provider
Source§fn register_rules(&self, registry: &mut RuleRegistry)
fn register_rules(&self, registry: &mut RuleRegistry)
Register all rules from this provider with the registry
Source§fn config_schema(&self) -> Option<Value>
fn config_schema(&self) -> Option<Value>
Provider-specific configuration schema
Source§fn initialize(&self) -> Result<(), MdBookLintError>
fn initialize(&self) -> Result<(), MdBookLintError>
Provider initialization hook
Source§fn register_rules_with_config(
&self,
registry: &mut RuleRegistry,
_config: Option<&Config>,
)
fn register_rules_with_config( &self, registry: &mut RuleRegistry, _config: Option<&Config>, )
Register all rules from this provider with the registry, using configuration
This method allows rules to be configured at registration time.
The default implementation calls the legacy register_rules method for backward compatibility.
Auto Trait Implementations§
impl Freeze for ContentRuleProvider
impl RefUnwindSafe for ContentRuleProvider
impl Send for ContentRuleProvider
impl Sync for ContentRuleProvider
impl Unpin for ContentRuleProvider
impl UnwindSafe for ContentRuleProvider
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