pub struct LinkReferenceValidator { /* private fields */ }Implementations§
Source§impl LinkReferenceValidator
impl LinkReferenceValidator
pub fn new(trace: bool, auto_create_missing_references: bool) -> Self
Sourcepub fn validate_links_exist_or_will_be_created(
&self,
storage: &mut impl NamedTypeLinks,
restriction_patterns: &[LinoLink],
substitution_patterns: &[LinoLink],
) -> Result<Changes>
pub fn validate_links_exist_or_will_be_created( &self, storage: &mut impl NamedTypeLinks, restriction_patterns: &[LinoLink], substitution_patterns: &[LinoLink], ) -> Result<Changes>
Validate already-decoded identifiers supplied by a custom front end.
Auto Trait Implementations§
impl Freeze for LinkReferenceValidator
impl RefUnwindSafe for LinkReferenceValidator
impl Send for LinkReferenceValidator
impl Sync for LinkReferenceValidator
impl Unpin for LinkReferenceValidator
impl UnsafeUnpin for LinkReferenceValidator
impl UnwindSafe for LinkReferenceValidator
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