Skip to main content

ISourceRefMethods

Trait ISourceRefMethods 

Source
pub trait ISourceRefMethods: ISourceRef {
Show 23 methods // Provided methods fn get_is_clr_location(self) -> bool { ... } fn set_is_clr_location(self, value: impl Into<bool>) { ... } fn get_source_idx(self) -> i32 { ... } fn set_source_idx(self, value: impl Into<i32>) { ... } fn get_from_char(self) -> i32 { ... } fn set_from_char(self, value: impl Into<i32>) { ... } fn get_to_char(self) -> i32 { ... } fn set_to_char(self, value: impl Into<i32>) { ... } fn get_from_line(self) -> i32 { ... } fn set_from_line(self, value: impl Into<i32>) { ... } fn get_to_line(self) -> i32 { ... } fn set_to_line(self, value: impl Into<i32>) { ... } fn get_is_step_stop(self) -> bool { ... } fn set_is_step_stop(self, value: impl Into<bool>) { ... } fn get_cannot_breakpoint(self) -> bool { ... } fn set_cannot_breakpoint(self, value: impl Into<bool>) { ... } fn ctor(self, src: impl Into<SourceRef>, is_step_stop: impl Into<bool>) { ... } fn ctor_2( self, source_idx: impl Into<i32>, from: impl Into<i32>, to: impl Into<i32>, fromline: impl Into<i32>, toline: impl Into<i32>, is_step_stop: impl Into<bool>, ) { ... } fn to_string(self) -> Il2CppString { ... } fn get_location_distance( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> i32 { ... } fn includes_location( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> bool { ... } fn set_no_break_point(self) -> SourceRef { ... } fn format_location( self, script: impl Into<Script>, force_classic_format: impl Into<bool>, ) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_is_clr_location(self) -> bool

get_IsClrLocation() overload

Source

fn set_is_clr_location(self, value: impl Into<bool>)

set_IsClrLocation(bool) overload

Source

fn get_source_idx(self) -> i32

get_SourceIdx() overload

Source

fn set_source_idx(self, value: impl Into<i32>)

set_SourceIdx(i32) overload

Source

fn get_from_char(self) -> i32

get_FromChar() overload

Source

fn set_from_char(self, value: impl Into<i32>)

set_FromChar(i32) overload

Source

fn get_to_char(self) -> i32

get_ToChar() overload

Source

fn set_to_char(self, value: impl Into<i32>)

set_ToChar(i32) overload

Source

fn get_from_line(self) -> i32

get_FromLine() overload

Source

fn set_from_line(self, value: impl Into<i32>)

set_FromLine(i32) overload

Source

fn get_to_line(self) -> i32

get_ToLine() overload

Source

fn set_to_line(self, value: impl Into<i32>)

set_ToLine(i32) overload

Source

fn get_is_step_stop(self) -> bool

get_IsStepStop() overload

Source

fn set_is_step_stop(self, value: impl Into<bool>)

set_IsStepStop(bool) overload

Source

fn get_cannot_breakpoint(self) -> bool

get_CannotBreakpoint() overload

Source

fn set_cannot_breakpoint(self, value: impl Into<bool>)

set_CannotBreakpoint(bool) overload

Source

fn ctor(self, src: impl Into<SourceRef>, is_step_stop: impl Into<bool>)

.ctor(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef, bool) overload

Source

fn ctor_2( self, source_idx: impl Into<i32>, from: impl Into<i32>, to: impl Into<i32>, fromline: impl Into<i32>, toline: impl Into<i32>, is_step_stop: impl Into<bool>, )

.ctor(i32, i32, i32, i32, i32, bool) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn get_location_distance( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> i32

GetLocationDistance(i32, i32, i32) overload

Source

fn includes_location( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> bool

IncludesLocation(i32, i32, i32) overload

Source

fn set_no_break_point(self) -> SourceRef

SetNoBreakPoint() overload

Source

fn format_location( self, script: impl Into<Script>, force_classic_format: impl Into<bool>, ) -> Il2CppString

FormatLocation(crate::moon_sharp::interpreter::script::Script, bool) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ISourceRef> ISourceRefMethods for __T

Available on crate feature moon_sharp-interpreter-debugging-sourceref only.