Struct rat_in_a_tube::CompiledScriptParameter
source · pub struct CompiledScriptParameter { /* private fields */ }
Expand description
Script parameter
Implementations§
source§impl CompiledScriptParameter
impl CompiledScriptParameter
sourcepub fn get_name_cstr(&self) -> &CStr
pub fn get_name_cstr(&self) -> &CStr
Get the name of the script as a null terminated C string.
sourcepub fn get_value_type(&self) -> ValueType
pub fn get_value_type(&self) -> ValueType
Get the parameter value type.
sourcepub fn get_file(&self) -> usize
pub fn get_file(&self) -> usize
Get the file index of the script, starting at 0.
This corresponds to CompiledScriptData::get_files
.
sourcepub fn get_column(&self) -> usize
pub fn get_column(&self) -> usize
Get the column index of the script, starting at 1.
Auto Trait Implementations§
impl RefUnwindSafe for CompiledScriptParameter
impl Send for CompiledScriptParameter
impl Sync for CompiledScriptParameter
impl Unpin for CompiledScriptParameter
impl UnwindSafe for CompiledScriptParameter
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