#[repr(i32)]pub enum ESteamLearnDataType {
SteamlearnDatatypeInvalid = 0,
SteamlearnDatatypeInt32 = 1,
SteamlearnDatatypeFloat32 = 2,
SteamlearnDatatypeBool = 3,
SteamlearnDatatypeString = 4,
SteamlearnDatatypeObject = 5,
}Variants§
SteamlearnDatatypeInvalid = 0
SteamlearnDatatypeInt32 = 1
SteamlearnDatatypeFloat32 = 2
SteamlearnDatatypeBool = 3
SteamlearnDatatypeString = 4
SteamlearnDatatypeObject = 5
Implementations§
Source§impl ESteamLearnDataType
impl ESteamLearnDataType
Sourcepub fn from_i32(value: i32) -> Option<ESteamLearnDataType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ESteamLearnDataType>
Converts an i32 to a ESteamLearnDataType, or None if value is not a valid variant.
Trait Implementations§
Source§impl Clone for ESteamLearnDataType
impl Clone for ESteamLearnDataType
Source§fn clone(&self) -> ESteamLearnDataType
fn clone(&self) -> ESteamLearnDataType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ESteamLearnDataType
impl Debug for ESteamLearnDataType
Source§impl Default for ESteamLearnDataType
impl Default for ESteamLearnDataType
Source§fn default() -> ESteamLearnDataType
fn default() -> ESteamLearnDataType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ESteamLearnDataType
impl<'de> Deserialize<'de> for ESteamLearnDataType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESteamLearnDataType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESteamLearnDataType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ESteamLearnDataType
impl Hash for ESteamLearnDataType
Source§impl Ord for ESteamLearnDataType
impl Ord for ESteamLearnDataType
Source§impl PartialEq for ESteamLearnDataType
impl PartialEq for ESteamLearnDataType
Source§impl PartialOrd for ESteamLearnDataType
impl PartialOrd for ESteamLearnDataType
Source§impl Serialize for ESteamLearnDataType
impl Serialize for ESteamLearnDataType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<i32> for ESteamLearnDataType
impl TryFrom<i32> for ESteamLearnDataType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<ESteamLearnDataType, UnknownEnumValue>
fn try_from(value: i32) -> Result<ESteamLearnDataType, UnknownEnumValue>
Performs the conversion.
impl Copy for ESteamLearnDataType
impl Eq for ESteamLearnDataType
impl StructuralPartialEq for ESteamLearnDataType
Auto Trait Implementations§
impl Freeze for ESteamLearnDataType
impl RefUnwindSafe for ESteamLearnDataType
impl Send for ESteamLearnDataType
impl Sync for ESteamLearnDataType
impl Unpin for ESteamLearnDataType
impl UnwindSafe for ESteamLearnDataType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.