#[repr(C)]pub struct cop {Show 16 fields
pub op_next: *mut op,
pub op_sibparent: *mut op,
pub op_ppaddr: Option<unsafe extern "C" fn(*mut interpreter) -> *mut op>,
pub op_targ: isize,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub op_flags: u8,
pub op_private: u8,
pub cop_line: u32,
pub cop_stashoff: isize,
pub cop_file: *mut i8,
pub cop_hints: u32,
pub cop_seq: u32,
pub cop_warnings: *mut i8,
pub cop_hints_hash: *mut refcounted_he,
pub cop_features: u32,
}Fields§
§op_next: *mut op§op_sibparent: *mut op§op_ppaddr: Option<unsafe extern "C" fn(*mut interpreter) -> *mut op>§op_targ: isize§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§op_flags: u8§op_private: u8§cop_line: u32§cop_stashoff: isize§cop_file: *mut i8§cop_hints: u32§cop_seq: u32§cop_warnings: *mut i8§cop_hints_hash: *mut refcounted_he§cop_features: u32Implementations§
Source§impl cop
impl cop
pub fn op_type(&self) -> u16
pub fn set_op_type(&mut self, val: u16)
pub unsafe fn op_type_raw(this: *const cop) -> u16
pub unsafe fn set_op_type_raw(this: *mut cop, val: u16)
pub fn op_opt(&self) -> u16
pub fn set_op_opt(&mut self, val: u16)
pub unsafe fn op_opt_raw(this: *const cop) -> u16
pub unsafe fn set_op_opt_raw(this: *mut cop, val: u16)
pub fn op_slabbed(&self) -> u16
pub fn set_op_slabbed(&mut self, val: u16)
pub unsafe fn op_slabbed_raw(this: *const cop) -> u16
pub unsafe fn set_op_slabbed_raw(this: *mut cop, val: u16)
pub fn op_savefree(&self) -> u16
pub fn set_op_savefree(&mut self, val: u16)
pub unsafe fn op_savefree_raw(this: *const cop) -> u16
pub unsafe fn set_op_savefree_raw(this: *mut cop, val: u16)
pub fn op_static(&self) -> u16
pub fn set_op_static(&mut self, val: u16)
pub unsafe fn op_static_raw(this: *const cop) -> u16
pub unsafe fn set_op_static_raw(this: *mut cop, val: u16)
pub fn op_folded(&self) -> u16
pub fn set_op_folded(&mut self, val: u16)
pub unsafe fn op_folded_raw(this: *const cop) -> u16
pub unsafe fn set_op_folded_raw(this: *mut cop, val: u16)
pub fn op_moresib(&self) -> u16
pub fn set_op_moresib(&mut self, val: u16)
pub unsafe fn op_moresib_raw(this: *const cop) -> u16
pub unsafe fn set_op_moresib_raw(this: *mut cop, val: u16)
pub fn op_spare(&self) -> u16
pub fn set_op_spare(&mut self, val: u16)
pub unsafe fn op_spare_raw(this: *const cop) -> u16
pub unsafe fn set_op_spare_raw(this: *mut cop, val: u16)
pub fn new_bitfield_1( op_type: u16, op_opt: u16, op_slabbed: u16, op_savefree: u16, op_static: u16, op_folded: u16, op_moresib: u16, op_spare: u16, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Ord for cop
impl Ord for cop
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 cop
impl PartialOrd for cop
impl Copy for cop
impl Eq for cop
impl StructuralPartialEq for cop
Auto Trait Implementations§
impl Freeze for cop
impl RefUnwindSafe for cop
impl !Send for cop
impl !Sync for cop
impl Unpin for cop
impl UnsafeUnpin for cop
impl UnwindSafe for cop
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