Skip to main content

pmop

Struct pmop 

Source
#[repr(C)]
pub struct pmop {
Show 15 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 op_first: *mut op, pub op_last: *mut op, pub op_pmoffset: isize, pub op_pmflags: u32, pub op_pmreplrootu: pmop__bindgen_ty_1, pub op_pmstashstartu: pmop__bindgen_ty_2, pub op_code_list: *mut op,
}

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§op_first: *mut op§op_last: *mut op§op_pmoffset: isize§op_pmflags: u32§op_pmreplrootu: pmop__bindgen_ty_1§op_pmstashstartu: pmop__bindgen_ty_2§op_code_list: *mut op

Implementations§

Source§

impl pmop

Source

pub fn op_type(&self) -> u16

Source

pub fn set_op_type(&mut self, val: u16)

Source

pub unsafe fn op_type_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_type_raw(this: *mut pmop, val: u16)

Source

pub fn op_opt(&self) -> u16

Source

pub fn set_op_opt(&mut self, val: u16)

Source

pub unsafe fn op_opt_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_opt_raw(this: *mut pmop, val: u16)

Source

pub fn op_slabbed(&self) -> u16

Source

pub fn set_op_slabbed(&mut self, val: u16)

Source

pub unsafe fn op_slabbed_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_slabbed_raw(this: *mut pmop, val: u16)

Source

pub fn op_savefree(&self) -> u16

Source

pub fn set_op_savefree(&mut self, val: u16)

Source

pub unsafe fn op_savefree_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_savefree_raw(this: *mut pmop, val: u16)

Source

pub fn op_static(&self) -> u16

Source

pub fn set_op_static(&mut self, val: u16)

Source

pub unsafe fn op_static_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_static_raw(this: *mut pmop, val: u16)

Source

pub fn op_folded(&self) -> u16

Source

pub fn set_op_folded(&mut self, val: u16)

Source

pub unsafe fn op_folded_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_folded_raw(this: *mut pmop, val: u16)

Source

pub fn op_moresib(&self) -> u16

Source

pub fn set_op_moresib(&mut self, val: u16)

Source

pub unsafe fn op_moresib_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_moresib_raw(this: *mut pmop, val: u16)

Source

pub fn op_spare(&self) -> u16

Source

pub fn set_op_spare(&mut self, val: u16)

Source

pub unsafe fn op_spare_raw(this: *const pmop) -> u16

Source

pub unsafe fn set_op_spare_raw(this: *mut pmop, val: u16)

Source

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 Clone for pmop

Source§

fn clone(&self) -> pmop

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for pmop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for pmop

Auto Trait Implementations§

§

impl Freeze for pmop

§

impl RefUnwindSafe for pmop

§

impl !Send for pmop

§

impl !Sync for pmop

§

impl Unpin for pmop

§

impl UnsafeUnpin for pmop

§

impl UnwindSafe for pmop

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.