pub struct ProfileFunctionBinding {
pub defining_profile: Symbol,
pub organ: Symbol,
pub function: Symbol,
pub value: Value,
}Expand description
A function registered in a SharedOrganRuntime, with its owning profile,
organ, name, and callable value.
Fields§
§defining_profile: SymbolSymbol of the profile that defined the function.
organ: SymbolOrgan the function belongs to.
function: SymbolSymbol naming the function.
value: ValueThe callable value.
Trait Implementations§
Source§impl Clone for ProfileFunctionBinding
impl Clone for ProfileFunctionBinding
Source§fn clone(&self) -> ProfileFunctionBinding
fn clone(&self) -> ProfileFunctionBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProfileFunctionBinding
impl !UnwindSafe for ProfileFunctionBinding
impl Freeze for ProfileFunctionBinding
impl Send for ProfileFunctionBinding
impl Sync for ProfileFunctionBinding
impl Unpin for ProfileFunctionBinding
impl UnsafeUnpin for ProfileFunctionBinding
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