DuplicateIdChecker

Struct DuplicateIdChecker 

Source
pub struct DuplicateIdChecker<'a> { /* private fields */ }

Trait Implementations§

Source§

impl<'a> Default for DuplicateIdChecker<'a>

Source§

fn default() -> DuplicateIdChecker<'a>

Returns the “default value” for a type. Read more
Source§

impl Validator for DuplicateIdChecker<'_>

Source§

impl<'a> Visit<'a> for DuplicateIdChecker<'a>

Source§

fn visit_term_frame(&mut self, frame: &'a TermFrame)

Source§

fn visit_typedef_frame(&mut self, frame: &'a TypedefFrame)

Source§

fn visit_instance_frame(&mut self, frame: &'a InstanceFrame)

Source§

fn visit_class_ident(&mut self, id: &'ast ClassIdent)

Source§

fn visit_creation_date(&mut self, creation_date: &'ast CreationDate)

Source§

fn visit_definition(&mut self, id: &'ast Definition)

Source§

fn visit_doc(&mut self, doc: &'ast OboDoc)

Source§

fn visit_entity_frame(&mut self, frame: &'ast EntityFrame)

Source§

fn visit_header_clause(&mut self, clause: &'ast HeaderClause)

Source§

fn visit_header_frame(&mut self, header: &'ast HeaderFrame)

Source§

fn visit_ident(&mut self, id: &'ast Ident)

Source§

fn visit_ident_prefix(&mut self, prefix: &'ast IdentPrefix)

Source§

fn visit_import(&mut self, import: &'ast Import)

Source§

fn visit_instance_clause(&mut self, clause: &'ast InstanceClause)

Source§

fn visit_instance_ident(&mut self, id: &'ast InstanceIdent)

Source§

fn visit_iso_date(&mut self, date: &'ast IsoDate)

Source§

fn visit_iso_datetime(&mut self, datetime: &'ast IsoDateTime)

Source§

fn visit_iso_time(&mut self, time: &'ast IsoTime)

Source§

fn visit_literal_property_value(&mut self, id: &'ast LiteralPropertyValue)

Source§

fn visit_naive_date(&mut self, date: &'ast NaiveDateTime)

Source§

fn visit_namespace_ident(&mut self, id: &'ast NamespaceIdent)

Source§

fn visit_property_value(&mut self, pv: &'ast PropertyValue)

Source§

fn visit_prefixed_ident(&mut self, id: &'ast PrefixedIdent)

Source§

fn visit_quoted_string(&mut self, string: &'ast QuotedString)

Source§

fn visit_relation_ident(&mut self, id: &'ast RelationIdent)

Source§

fn visit_resource_property_value(&mut self, id: &'ast ResourcePropertyValue)

Source§

fn visit_subset_ident(&mut self, id: &'ast SubsetIdent)

Source§

fn visit_synonym(&mut self, syn: &'ast Synonym)

Source§

fn visit_synonym_scope(&mut self, scope: &'ast SynonymScope)

Source§

fn visit_synonymtype_ident(&mut self, id: &'ast SynonymTypeIdent)

Source§

fn visit_term_clause(&mut self, clause: &'ast TermClause)

Source§

fn visit_typedef_clause(&mut self, clause: &'ast TypedefClause)

Source§

fn visit_unprefixed_ident(&mut self, string: &'ast UnprefixedIdent)

Source§

fn visit_unquoted_string(&mut self, string: &'ast UnquotedString)

Source§

fn visit_url(&mut self, url: &'ast Url)

Source§

fn visit_xref(&mut self, xref: &'ast Xref)

Source§

fn visit_xref_list(&mut self, xrefs: &'ast XrefList)

Auto Trait Implementations§

§

impl<'a> Freeze for DuplicateIdChecker<'a>

§

impl<'a> RefUnwindSafe for DuplicateIdChecker<'a>

§

impl<'a> Send for DuplicateIdChecker<'a>

§

impl<'a> Sync for DuplicateIdChecker<'a>

§

impl<'a> Unpin for DuplicateIdChecker<'a>

§

impl<'a> UnwindSafe for DuplicateIdChecker<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.