pub struct Class { /* private fields */ }Implementations§
Source§impl Class
impl Class
pub fn new(handle: *const c_void) -> Self
pub fn get_handle(&self) -> *const c_void
pub fn from_id(classid: i32) -> Option<Class>
pub fn get_id(&self) -> i32
pub fn add( team: u8, skin: i32, spawn: Vector3, angle: f32, weapon: WeaponSlots, ) -> Option<Class>
pub fn count(&self) -> i32
pub fn getdata(&self) -> PlayerClass
pub fn edit(&self, data: PlayerClass) -> bool
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl !Send for Class
impl !Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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