#[repr(C)]pub struct block_hooks {
pub bhk_flags: U32,
pub bhk_start: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, full: c_int)>,
pub bhk_pre_end: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, seq: *mut *mut OP)>,
pub bhk_post_end: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, seq: *mut *mut OP)>,
pub bhk_eval: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, saveop: *mut OP)>,
}
Fields§
§bhk_flags: U32
§bhk_start: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, full: c_int)>
§bhk_pre_end: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, seq: *mut *mut OP)>
§bhk_post_end: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, seq: *mut *mut OP)>
§bhk_eval: Option<unsafe extern "C" fn(my_perl: *mut PerlInterpreter, saveop: *mut OP)>
Trait Implementations§
Source§impl Clone for block_hooks
impl Clone for block_hooks
Source§fn clone(&self) -> block_hooks
fn clone(&self) -> block_hooks
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 block_hooks
impl Debug for block_hooks
impl Copy for block_hooks
Auto Trait Implementations§
impl Freeze for block_hooks
impl RefUnwindSafe for block_hooks
impl Send for block_hooks
impl Sync for block_hooks
impl Unpin for block_hooks
impl UnwindSafe for block_hooks
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