pub struct Rumya { /* private fields */ }Expand description
§Environment
This structure is an environment that manages interpreter paths of Rumya and her base technology Lamuta.
Implementations§
Source§impl Rumya
impl Rumya
Sourcepub fn new() -> Self
pub fn new() -> Self
§Constructer
Rumya’s interpreter path would setted by rumya.lm, Lamuta’s one is lamuta in default.
Sourcepub fn set_rumya(&self, path: &str) -> Self
pub fn set_rumya(&self, path: &str) -> Self
§Rumya setter
This methods sets interpreter path of Rumya
Sourcepub fn set_lamuta(&self, path: &str) -> Self
pub fn set_lamuta(&self, path: &str) -> Self
§Lamuta setter
This methods sets interpreter path of Lamuta
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rumya
impl RefUnwindSafe for Rumya
impl Send for Rumya
impl Sync for Rumya
impl Unpin for Rumya
impl UnwindSafe for Rumya
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more