[][src]Struct v_onto::onto::Onto

pub struct Onto {
    pub relations: HashMap<String, HashMap<String, RelType>>,
    pub prefixes: HashMap<String, String>,
}

Fields

relations: HashMap<String, HashMap<String, RelType>>prefixes: HashMap<String, String>

Implementations

impl Onto[src]

pub fn update(&mut self, indv: &mut Individual) -> bool[src]

pub fn is_some_entered(&mut self, el: &str, subs: &[&str]) -> bool[src]

pub fn is_some_entered_it<'a, I>(&mut self, el: &str, subs: I) -> bool where
    I: Iterator<Item = &'a String>, 
[src]

pub fn get_subs(&self, el: &str, collector: &mut HashSet<String>)[src]

pub fn get_supers(&self, el: &str, collector: &mut HashSet<String>)[src]

pub fn update_subs(&mut self, el: &str, subs: &mut HashSet<String>)[src]

pub fn get_full_prefix(&self, short_prefix: &str) -> Option<&String>[src]

Trait Implementations

impl Debug for Onto[src]

impl Default for Onto[src]

impl Display for Onto[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.