Struct dynamic_reload::Lib [] [src]

pub struct Lib {
    pub lib: Library,
    pub loaded_path: PathBuf,
    pub original_path: Option<PathBuf>,
}

Contains the information for a loaded library.

Fields

The actual loaded library. Refer to the libloading documentation on how to use this.

This is the path from where the library was loaded (which may be in a temporary directory)

Original location of the file. This is keep so dynamic_reload knows which file to look for updates in case the library has been changed.

Trait Implementations

impl PartialEq for Lib
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.