pub struct InternedV8JsFunction {
pub iid: Option<u64>,
pub v8_js_function_name_iid: Option<u64>,
pub v8_js_script_iid: Option<u64>,
pub is_toplevel: Option<bool>,
pub kind: Option<i32>,
pub byte_offset: Option<u32>,
}
Fields§
§iid: Option<u64>
§v8_js_function_name_iid: Option<u64>
§v8_js_script_iid: Option<u64>
§is_toplevel: Option<bool>
§kind: Option<i32>
§byte_offset: Option<u32>
Where in the script source this function is defined. This is counted in bytes not characters.
Implementations§
Source§impl InternedV8JsFunction
impl InternedV8JsFunction
Sourcepub fn v8_js_function_name_iid(&self) -> u64
pub fn v8_js_function_name_iid(&self) -> u64
Returns the value of v8_js_function_name_iid
, or the default value if v8_js_function_name_iid
is unset.
Sourcepub fn v8_js_script_iid(&self) -> u64
pub fn v8_js_script_iid(&self) -> u64
Returns the value of v8_js_script_iid
, or the default value if v8_js_script_iid
is unset.
Sourcepub fn is_toplevel(&self) -> bool
pub fn is_toplevel(&self) -> bool
Returns the value of is_toplevel
, or the default value if is_toplevel
is unset.
Sourcepub fn kind(&self) -> Kind
pub fn kind(&self) -> Kind
Returns the enum value of kind
, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn byte_offset(&self) -> u32
pub fn byte_offset(&self) -> u32
Returns the value of byte_offset
, or the default value if byte_offset
is unset.
Trait Implementations§
Source§impl Clone for InternedV8JsFunction
impl Clone for InternedV8JsFunction
Source§fn clone(&self) -> InternedV8JsFunction
fn clone(&self) -> InternedV8JsFunction
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 InternedV8JsFunction
impl Debug for InternedV8JsFunction
Source§impl Default for InternedV8JsFunction
impl Default for InternedV8JsFunction
Source§impl Message for InternedV8JsFunction
impl Message for InternedV8JsFunction
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for InternedV8JsFunction
impl PartialEq for InternedV8JsFunction
impl StructuralPartialEq for InternedV8JsFunction
Auto Trait Implementations§
impl Freeze for InternedV8JsFunction
impl RefUnwindSafe for InternedV8JsFunction
impl Send for InternedV8JsFunction
impl Sync for InternedV8JsFunction
impl Unpin for InternedV8JsFunction
impl UnwindSafe for InternedV8JsFunction
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