pub struct RynaLibrary {
pub path: PathBuf,
pub lib: Rc<Library>,
}Fields§
§path: PathBuf§lib: Rc<Library>Implementations§
Source§impl RynaLibrary
impl RynaLibrary
pub fn new(path: &String, lib: Library) -> RynaLibrary
pub fn get_function(&self, name: &String) -> Result<RynaLibraryFunction, String>
Trait Implementations§
Source§impl Clone for RynaLibrary
impl Clone for RynaLibrary
Source§fn clone(&self) -> RynaLibrary
fn clone(&self) -> RynaLibrary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RynaLibrary
impl Debug for RynaLibrary
Source§impl Deref<RynaLibrary> for ObjectBlock
impl Deref<RynaLibrary> for ObjectBlock
fn deref(&self) -> &mut RynaLibrary
Source§impl Get<RynaLibrary> for ObjectBlock
impl Get<RynaLibrary> for ObjectBlock
fn get(&self) -> &RynaLibrary
Source§impl GetMut<RynaLibrary> for ObjectBlock
impl GetMut<RynaLibrary> for ObjectBlock
fn get(&mut self) -> &mut RynaLibrary
Source§impl PartialEq for RynaLibrary
impl PartialEq for RynaLibrary
Source§impl RynaData for RynaLibrary
impl RynaData for RynaLibrary
fn data(self) -> ObjectBlock
Auto Trait Implementations§
impl Freeze for RynaLibrary
impl !RefUnwindSafe for RynaLibrary
impl !Send for RynaLibrary
impl !Sync for RynaLibrary
impl Unpin for RynaLibrary
impl !UnwindSafe for RynaLibrary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more