#[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>
Use the TryFrom<i32> implementation instead
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 (const: unstable) · Source§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ESplitScreenMessageType> for i32
impl From<ESplitScreenMessageType> for i32
Source§fn from(value: ESplitScreenMessageType) -> i32
fn from(value: ESplitScreenMessageType) -> i32
Converts to this type from the input type.
Source§impl Hash for ESplitScreenMessageType
impl Hash for ESplitScreenMessageType
Source§impl Ord for ESplitScreenMessageType
impl Ord for ESplitScreenMessageType
Source§fn cmp(&self, other: &ESplitScreenMessageType) -> Ordering
fn cmp(&self, other: &ESplitScreenMessageType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ESplitScreenMessageType
impl PartialEq for ESplitScreenMessageType
Source§fn eq(&self, other: &ESplitScreenMessageType) -> bool
fn eq(&self, other: &ESplitScreenMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ESplitScreenMessageType
impl PartialOrd for ESplitScreenMessageType
Source§impl Serialize for ESplitScreenMessageType
impl Serialize for ESplitScreenMessageType
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 UnsafeUnpin for ESplitScreenMessageType
impl UnwindSafe for ESplitScreenMessageType
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