Struct neko::dynamic::Compositer
[−]
[src]
pub struct Compositer(_);
The struct Compositer
is a heap of a double tuple
of a dynamic libraries and a priority order.
Methods
impl Compositer
[src]
fn source(&self) -> PathBuf
The accessor method source
returns the source directory where
found the git
and lib
sub-directories.
fn mount<S: AsRef<OsStr>>(&mut self, libraryname: S, priority: Option<usize>) -> Result<()>
The method mount
adds a new library to the heap's compositer.
fn mount_from_dir(&mut self, directory: &str, priority: Option<usize>) -> Result<()>
The method mount_from_dir
adds a new library to the heap's compositer
from a directory.
fn mount_from_git(&mut self, repository: &str, priority: Option<usize>) -> Result<()>
The method mount_from_git
adds a new library to the heap's compositer
from a git repository.
fn start(&self)
Trait Implementations
impl Debug for Compositer
[src]
impl Default for Compositer
[src]
A trait for giving a type a useful default value.
fn default() -> Compositer
The constructor default
returns a Compositer prepared with
the libraries from the source directory.