Enum MethodSubSection

Source
pub enum MethodSubSection<'a> {
    Comment(&'a str),
    Parameter {
        lv_index: u32,
        var_name_a: Option<&'a str>,
        var_name_b: Option<&'a str>,
        extra_ns_var_names: Vec<&'a str>,
        method_parameter_sub_sections: Vec<&'a str>,
    },
    Variable {
        lv_index: u32,
        lv_start_offset: u32,
        optional_lvt_index: i32,
        var_name_a: Option<&'a str>,
        var_name_b: Option<&'a str>,
        extra_ns_var_names: Vec<&'a str>,
        method_variable_sub_sections: Vec<&'a str>,
    },
}
Expand description

§Example

p 1 param_0 x

Variants§

§

Comment(&'a str)

§

Parameter

Fields

§lv_index: u32
§var_name_a: Option<&'a str>
§var_name_b: Option<&'a str>
§extra_ns_var_names: Vec<&'a str>
§method_parameter_sub_sections: Vec<&'a str>
§

Variable

Fields

§lv_index: u32
§lv_start_offset: u32
§optional_lvt_index: i32
§var_name_a: Option<&'a str>
§var_name_b: Option<&'a str>
§extra_ns_var_names: Vec<&'a str>
§method_variable_sub_sections: Vec<&'a str>

Trait Implementations§

Source§

impl<'a> Debug for MethodSubSection<'a>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for MethodSubSection<'a>

§

impl<'a> RefUnwindSafe for MethodSubSection<'a>

§

impl<'a> Send for MethodSubSection<'a>

§

impl<'a> Sync for MethodSubSection<'a>

§

impl<'a> Unpin for MethodSubSection<'a>

§

impl<'a> UnwindSafe for MethodSubSection<'a>

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> 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, 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.