Struct snekdown::references::glossary::GlossaryManager[][src]

pub struct GlossaryManager { /* fields omitted */ }

A glossary manager responsible for handling glossary entries and references to those entries

Implementations

impl GlossaryManager[src]

pub fn new() -> Self[src]

Creates a new glossary manager

pub fn add_entry(&mut self, entry: GlossaryEntry) -> Arc<Mutex<GlossaryEntry>>[src]

Adds a new glossary entry to the manager

pub fn add_reference(
    &mut self,
    reference: GlossaryReference
) -> Arc<Mutex<GlossaryReference>>
[src]

Adds a new glossary reference to the manager

pub fn assign_from_toml(&mut self, value: Value) -> Result<(), String>[src]

Assignes bibliography entries from toml

pub fn assign_entries_to_references(&self)[src]

Assignes entries to references

pub fn create_glossary_list(&self) -> List[src]

Creates a sorted glossary list from the glossary entries

Trait Implementations

impl Clone for GlossaryManager[src]

impl Debug for GlossaryManager[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,