#[repr(C)]pub struct custom_op {
pub xop_flags: u32,
pub xop_name: *const i8,
pub xop_desc: *const i8,
pub xop_class: u32,
pub xop_peep: Option<unsafe extern "C" fn(*mut interpreter, *mut op, *mut op)>,
}Fields§
§xop_flags: u32§xop_name: *const i8§xop_desc: *const i8§xop_class: u32§xop_peep: Option<unsafe extern "C" fn(*mut interpreter, *mut op, *mut op)>Trait Implementations§
Source§impl Ord for custom_op
impl Ord for custom_op
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for custom_op
impl PartialOrd for custom_op
impl Copy for custom_op
impl Eq for custom_op
impl StructuralPartialEq for custom_op
Auto Trait Implementations§
impl Freeze for custom_op
impl RefUnwindSafe for custom_op
impl !Send for custom_op
impl !Sync for custom_op
impl Unpin for custom_op
impl UnsafeUnpin for custom_op
impl UnwindSafe for custom_op
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