#[repr(C)]pub struct rb_method_definition_struct {
pub type_: rb_method_type_t,
pub original_id: ID,
pub body: rb_method_definition_struct__bindgen_ty_1,
pub alias_count: c_int,
}
Fields§
§type_: rb_method_type_t
§original_id: ID
§body: rb_method_definition_struct__bindgen_ty_1
§alias_count: c_int
Trait Implementations§
Source§impl Clone for rb_method_definition_struct
impl Clone for rb_method_definition_struct
Source§fn clone(&self) -> rb_method_definition_struct
fn clone(&self) -> rb_method_definition_struct
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 moreimpl Copy for rb_method_definition_struct
Auto Trait Implementations§
impl Freeze for rb_method_definition_struct
impl RefUnwindSafe for rb_method_definition_struct
impl !Send for rb_method_definition_struct
impl !Sync for rb_method_definition_struct
impl Unpin for rb_method_definition_struct
impl UnwindSafe for rb_method_definition_struct
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