Struct evil_janet::JanetMethod
source · #[repr(C)]pub struct JanetMethod {
pub name: *const c_char,
pub cfun: JanetCFunction,
}
Fields§
§name: *const c_char
§cfun: JanetCFunction
Trait Implementations§
source§impl Clone for JanetMethod
impl Clone for JanetMethod
source§fn clone(&self) -> JanetMethod
fn clone(&self) -> JanetMethod
Returns a copy 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 JanetMethod
impl Debug for JanetMethod
impl Copy for JanetMethod
Auto Trait Implementations§
impl Freeze for JanetMethod
impl RefUnwindSafe for JanetMethod
impl !Send for JanetMethod
impl !Sync for JanetMethod
impl Unpin for JanetMethod
impl UnwindSafe for JanetMethod
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