#[repr(C)]pub struct FunctionBytecodeSummary {
pub source: String,
pub name: String,
pub line: i32,
pub nesting_limit: u32,
pub counts: Vec<Vec<u32>>,
}Fields§
§source: String§name: String§line: i32§nesting_limit: u32§counts: Vec<Vec<u32>>Implementations§
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub fn from_proto(proto: *mut Proto, nesting_limit: u32) -> Self
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub fn get_counts(&self, nesting: u32) -> &Vec<u32>
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub fn get_nesting_limit(&self) -> u32
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub fn get_op_limit(&self) -> u32
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub fn get_source(&self) -> &str
Source§impl FunctionBytecodeSummary
impl FunctionBytecodeSummary
pub const LOP__COUNT: u32
Trait Implementations§
Source§impl Clone for FunctionBytecodeSummary
impl Clone for FunctionBytecodeSummary
Source§fn clone(&self) -> FunctionBytecodeSummary
fn clone(&self) -> FunctionBytecodeSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FunctionBytecodeSummary
impl RefUnwindSafe for FunctionBytecodeSummary
impl Send for FunctionBytecodeSummary
impl Sync for FunctionBytecodeSummary
impl Unpin for FunctionBytecodeSummary
impl UnsafeUnpin for FunctionBytecodeSummary
impl UnwindSafe for FunctionBytecodeSummary
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