#[repr(i32)]pub enum ESplitScreenMessageType {
MsgSplitscreenAdduser = 0,
MsgSplitscreenRemoveuser = 1,
}Variants§
Implementations§
Source§impl ESplitScreenMessageType
impl ESplitScreenMessageType
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true if value is a variant of ESplitScreenMessageType.
Sourcepub fn from_i32(value: i32) -> Option<ESplitScreenMessageType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ESplitScreenMessageType>
Converts an i32 to a ESplitScreenMessageType, or None if value is not a valid variant.
Trait Implementations§
Source§impl Clone for ESplitScreenMessageType
impl Clone for ESplitScreenMessageType
Source§fn clone(&self) -> ESplitScreenMessageType
fn clone(&self) -> ESplitScreenMessageType
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 ESplitScreenMessageType
impl Debug for ESplitScreenMessageType
Source§impl Default for ESplitScreenMessageType
impl Default for ESplitScreenMessageType
Source§fn default() -> ESplitScreenMessageType
fn default() -> ESplitScreenMessageType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ESplitScreenMessageType
impl<'de> Deserialize<'de> for ESplitScreenMessageType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESplitScreenMessageType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ESplitScreenMessageType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ESplitScreenMessageType
impl Hash for ESplitScreenMessageType
Source§impl Ord for ESplitScreenMessageType
impl Ord for ESplitScreenMessageType
Source§impl PartialEq for ESplitScreenMessageType
impl PartialEq for ESplitScreenMessageType
Source§impl PartialOrd for ESplitScreenMessageType
impl PartialOrd for ESplitScreenMessageType
Source§impl Serialize for ESplitScreenMessageType
impl Serialize for ESplitScreenMessageType
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 ESplitScreenMessageType
impl TryFrom<i32> for ESplitScreenMessageType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<ESplitScreenMessageType, UnknownEnumValue>
fn try_from(value: i32) -> Result<ESplitScreenMessageType, UnknownEnumValue>
Performs the conversion.
impl Copy for ESplitScreenMessageType
impl Eq for ESplitScreenMessageType
impl StructuralPartialEq for ESplitScreenMessageType
Auto Trait Implementations§
impl Freeze for ESplitScreenMessageType
impl RefUnwindSafe for ESplitScreenMessageType
impl Send for ESplitScreenMessageType
impl Sync for ESplitScreenMessageType
impl Unpin for ESplitScreenMessageType
impl UnwindSafe for ESplitScreenMessageType
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.