pub struct FunctionDefinition { /* private fields */ }Expand description
In typical usage of this crate, instances of this type should not be constructed directly.
The crate::function! macro should be used to construct this type, as it provides a safer abstraction.
Implementations§
Source§impl FunctionDefinition
impl FunctionDefinition
pub fn raw_name(&self) -> &UCStr
pub fn raw_func(&self) -> FREFunction
pub const fn new(raw_name: UCStr, raw_func: FREFunction) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionDefinition
impl RefUnwindSafe for FunctionDefinition
impl Send for FunctionDefinition
impl Sync for FunctionDefinition
impl Unpin for FunctionDefinition
impl UnsafeUnpin for FunctionDefinition
impl UnwindSafe for FunctionDefinition
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