RawCVar

Struct RawCVar 

Source
pub struct RawCVar { /* private fields */ }

Implementations§

Source§

impl RawCVar

auto generated docs; idk how to make macros capture docs so no docs :(

§Safety

idk

Source

pub unsafe fn find_command_base( &self, command_name: *const c_char, ) -> *mut ConCommandBase

auto generated docs; idk how to make macros capture docs so no docs :(

§Safety

idk

Source

pub unsafe fn find_convar(&self, convar_name: *const c_char) -> *mut ConVar

auto generated docs; idk how to make macros capture docs so no docs :(

§Safety

idk

Source

pub unsafe fn find_concommand( &self, concommand_name: *const c_char, ) -> *mut ConCommand

auto generated docs; idk how to make macros capture docs so no docs :(

§Safety

idk

Source

pub unsafe fn get_cvar_raw_interator(&self) -> *const RawCvarIterator

auto generated docs; idk how to make macros capture docs so no docs :(

§Safety

idk

Trait Implementations§

Source§

impl SourceInterface for RawCVar

Source§

fn get_vtable(&self) -> NonNull<fn()>

function to return the vtable of the interface to be used by get_func
Source§

fn get_func(&self, index: usize) -> fn()

used internally by the create_external_interface
Source§

unsafe fn from_dll_ptr( dll_ptr: HMODULE, interface_name: &str, ) -> Result<&'static Rtrn, InterfaceGetterError<'_>>

acquires the interface from a dll pointer Read more
Source§

unsafe fn from_dll_name<'a>( dll_name: &str, interface_name: &'a str, ) -> Result<&'static Rtrn, InterfaceGetterError<'a>>

acquires the interface from a dll name Read more

Auto Trait Implementations§

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.