pub struct Library { /* private fields */ }
Expand description
Library of functions accessible to the program
Implementations§
Source§impl Library
impl Library
Sourcepub fn insert(&mut self, fun: FunctionF32)
pub fn insert(&mut self, fun: FunctionF32)
Append a new function to the library
Sourcepub fn iter(&self) -> impl Iterator<Item = &FunctionF32>
pub fn iter(&self) -> impl Iterator<Item = &FunctionF32>
Iterator over the functions
Trait Implementations§
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