#[repr(C)]pub struct SourceLocObj {
pub source_name: SourceName,
pub start_line: i32,
pub start_column: i32,
pub end_line: i32,
pub end_column: i32,
/* private fields */
}Expand description
Complete: reflected fields fill [24, 48) exactly.
Fields§
§source_name: SourceName§start_line: i32§start_column: i32§end_line: i32§end_column: i32Trait Implementations§
Source§impl Deref for SourceLocObj
impl Deref for SourceLocObj
Source§type Target = LocationObj
type Target = LocationObj
The resulting type after dereferencing.
Source§fn deref(&self) -> &LocationObj
fn deref(&self) -> &LocationObj
Dereferences the value.
Source§impl<'a> From<&'a SourceLocObj> for AnyView<'a>
impl<'a> From<&'a SourceLocObj> for AnyView<'a>
Source§fn from(value: &'a SourceLocObj) -> Self
fn from(value: &'a SourceLocObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for SourceLocObj
impl ObjectCore for SourceLocObj
Source§const TYPE_DEPTH: i32 = 2i32
const TYPE_DEPTH: i32 = 2i32
Depth of this type in the object inheritance tree. Read more
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for SourceLocObj
impl RefUnwindSafe for SourceLocObj
impl !Send for SourceLocObj
impl !Sync for SourceLocObj
impl Unpin for SourceLocObj
impl UnwindSafe for SourceLocObj
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