Struct gdnative_doc::backend::Resolver[][src]

pub struct Resolver {
    pub godot_items: HashMap<String, String>,
    pub rust_to_godot: HashMap<String, String>,
    pub url_overrides: HashMap<String, String>,
    pub rename_classes: HashMap<String, String>,
}

Information to resolve links.

Fields

godot_items: HashMap<String, String>

Link to godot items’ documentation.

Contains the link to godot classes, but also true, INF, Err

rust_to_godot: HashMap<String, String>

Mapping from Rust to Godot types.

url_overrides: HashMap<String, String>

User-defined overrides.

These are defined in the toml configuration file.

rename_classes: HashMap<String, String>

User-defined Rust to Godot mapping.

These are defined in the toml configuration file.

Implementations

impl Resolver[src]

pub fn resolve(&self, link: &str) -> Option<&str>[src]

Resolve a name to the location it must link to.

link must already have been stripped off the enclosing `.

Trait Implementations

impl Clone for Resolver[src]

impl Debug for Resolver[src]

impl Default for Resolver[src]

impl Eq for Resolver[src]

impl PartialEq<Resolver> for Resolver[src]

impl StructuralEq for Resolver[src]

impl StructuralPartialEq for Resolver[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> 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.