Struct steamworks_sys::CSteamID
source · [−]#[repr(C)]pub struct CSteamID {
pub m_steamid: CSteamID_SteamID_t,
}
Fields
m_steamid: CSteamID_SteamID_t
Implementations
sourceimpl CSteamID
impl CSteamID
pub unsafe fn IsValid(&self) -> bool
pub unsafe fn Render(&self) -> *const c_char
pub unsafe fn Render1(ulSteamID: uint64) -> *const c_char
pub unsafe fn SetFromString(
&mut self,
pchSteamID: *const c_char,
eDefaultUniverse: EUniverse
)
pub unsafe fn SetFromStringStrict(
&mut self,
pchSteamID: *const c_char,
eDefaultUniverse: EUniverse
) -> bool
pub unsafe fn SetFromSteam2String(
&mut self,
pchSteam2ID: *const c_char,
eUniverse: EUniverse
) -> bool
pub unsafe fn BValidExternalSteamID(&self) -> bool
pub unsafe fn new(
pchSteamID: *const c_char,
eDefaultUniverse: EUniverse
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CSteamID
impl Send for CSteamID
impl Sync for CSteamID
impl Unpin for CSteamID
impl UnwindSafe for CSteamID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more