pub struct Library {
pub name: String,
pub namespace: bool,
/* private fields */
}
Fields§
§name: String
§namespace: bool
Implementations§
Source§impl Library
impl Library
pub fn new(name: impl Into<String>, namespace: bool) -> Self
pub fn add_lib(&mut self, lib: Library)
pub fn add_func(&mut self, func: Function)
pub fn get_lib(&self, name: impl Into<String>) -> Option<&Library>
pub fn get_func(&self, name: impl Into<String>) -> Option<&Function>
Auto Trait Implementations§
impl Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
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