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§
Sourcefn get_is_clr_location(self) -> bool
fn get_is_clr_location(self) -> bool
get_IsClrLocation() overload
Sourcefn set_is_clr_location(self, value: impl Into<bool>)
fn set_is_clr_location(self, value: impl Into<bool>)
set_IsClrLocation(bool) overload
Sourcefn get_source_idx(self) -> i32
fn get_source_idx(self) -> i32
get_SourceIdx() overload
Sourcefn set_source_idx(self, value: impl Into<i32>)
fn set_source_idx(self, value: impl Into<i32>)
set_SourceIdx(i32) overload
Sourcefn get_from_char(self) -> i32
fn get_from_char(self) -> i32
get_FromChar() overload
Sourcefn set_from_char(self, value: impl Into<i32>)
fn set_from_char(self, value: impl Into<i32>)
set_FromChar(i32) overload
Sourcefn get_to_char(self) -> i32
fn get_to_char(self) -> i32
get_ToChar() overload
Sourcefn set_to_char(self, value: impl Into<i32>)
fn set_to_char(self, value: impl Into<i32>)
set_ToChar(i32) overload
Sourcefn get_from_line(self) -> i32
fn get_from_line(self) -> i32
get_FromLine() overload
Sourcefn set_from_line(self, value: impl Into<i32>)
fn set_from_line(self, value: impl Into<i32>)
set_FromLine(i32) overload
Sourcefn get_to_line(self) -> i32
fn get_to_line(self) -> i32
get_ToLine() overload
Sourcefn set_to_line(self, value: impl Into<i32>)
fn set_to_line(self, value: impl Into<i32>)
set_ToLine(i32) overload
Sourcefn get_is_step_stop(self) -> bool
fn get_is_step_stop(self) -> bool
get_IsStepStop() overload
Sourcefn set_is_step_stop(self, value: impl Into<bool>)
fn set_is_step_stop(self, value: impl Into<bool>)
set_IsStepStop(bool) overload
Sourcefn get_cannot_breakpoint(self) -> bool
fn get_cannot_breakpoint(self) -> bool
get_CannotBreakpoint() overload
Sourcefn set_cannot_breakpoint(self, value: impl Into<bool>)
fn set_cannot_breakpoint(self, value: impl Into<bool>)
set_CannotBreakpoint(bool) overload
Sourcefn ctor(self, src: impl Into<SourceRef>, is_step_stop: impl Into<bool>)
fn ctor(self, src: impl Into<SourceRef>, is_step_stop: impl Into<bool>)
.ctor(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef, bool) overload
Sourcefn 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 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
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn get_location_distance(
self,
source_idx: impl Into<i32>,
line: impl Into<i32>,
col: impl Into<i32>,
) -> i32
fn get_location_distance( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> i32
GetLocationDistance(i32, i32, i32) overload
Sourcefn includes_location(
self,
source_idx: impl Into<i32>,
line: impl Into<i32>,
col: impl Into<i32>,
) -> bool
fn includes_location( self, source_idx: impl Into<i32>, line: impl Into<i32>, col: impl Into<i32>, ) -> bool
IncludesLocation(i32, i32, i32) overload
Sourcefn set_no_break_point(self) -> SourceRef
fn set_no_break_point(self) -> SourceRef
SetNoBreakPoint() overload
Sourcefn format_location(
self,
script: impl Into<Script>,
force_classic_format: impl Into<bool>,
) -> Il2CppString
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§
impl<__T: ISourceRef> ISourceRefMethods for __T
moon_sharp-interpreter-debugging-sourceref only.