Struct gdnative_doc::backend::Resolver [−][src]
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
impl RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl UnwindSafe for Resolver
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,