#[repr(u32)]pub enum ContentLocal {
Effect = 0,
Marker = 1,
}
Expand description
Content local for StateChange::IdToGUID
events.
Variants§
Trait Implementations§
Source§impl Clone for ContentLocal
impl Clone for ContentLocal
Source§fn clone(&self) -> ContentLocal
fn clone(&self) -> ContentLocal
Returns a copy of the value. Read more
1.0.0 · 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 ContentLocal
impl Debug for ContentLocal
Source§impl<'de> Deserialize<'de> for ContentLocal
impl<'de> Deserialize<'de> for ContentLocal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContentLocal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContentLocal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ContentLocal
impl Display for ContentLocal
Source§impl<'_derivative_strum> From<&'_derivative_strum ContentLocal> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ContentLocal> for &'static str
Source§fn from(x: &'_derivative_strum ContentLocal) -> &'static str
fn from(x: &'_derivative_strum ContentLocal) -> &'static str
Converts to this type from the input type.
Source§impl From<ContentLocal> for &'static str
impl From<ContentLocal> for &'static str
Source§fn from(x: ContentLocal) -> &'static str
fn from(x: ContentLocal) -> &'static str
Converts to this type from the input type.
Source§impl Hash for ContentLocal
impl Hash for ContentLocal
Source§impl IntoEnumIterator for ContentLocal
impl IntoEnumIterator for ContentLocal
type Iterator = ContentLocalIter
fn iter() -> ContentLocalIter ⓘ
Source§impl Ord for ContentLocal
impl Ord for ContentLocal
Source§fn cmp(&self, other: &ContentLocal) -> Ordering
fn cmp(&self, other: &ContentLocal) -> Ordering
1.21.0 · 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 ContentLocal
impl PartialEq for ContentLocal
Source§impl PartialOrd for ContentLocal
impl PartialOrd for ContentLocal
Source§impl Serialize for ContentLocal
impl Serialize for ContentLocal
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<u32> for ContentLocal
impl TryFrom<u32> for ContentLocal
Source§type Error = TryFromPrimitiveError<ContentLocal>
type Error = TryFromPrimitiveError<ContentLocal>
The type returned in the event of a conversion error.
Source§fn try_from(
number: u32,
) -> Result<ContentLocal, TryFromPrimitiveError<ContentLocal>>
fn try_from( number: u32, ) -> Result<ContentLocal, TryFromPrimitiveError<ContentLocal>>
Performs the conversion.
Source§impl TryFromPrimitive for ContentLocal
impl TryFromPrimitive for ContentLocal
const NAME: &'static str = "ContentLocal"
type Primitive = u32
type Error = TryFromPrimitiveError<ContentLocal>
fn try_from_primitive( number: <ContentLocal as TryFromPrimitive>::Primitive, ) -> Result<ContentLocal, TryFromPrimitiveError<ContentLocal>>
Source§impl VariantNames for ContentLocal
impl VariantNames for ContentLocal
impl Copy for ContentLocal
impl Eq for ContentLocal
impl StructuralPartialEq for ContentLocal
Auto Trait Implementations§
impl Freeze for ContentLocal
impl RefUnwindSafe for ContentLocal
impl Send for ContentLocal
impl Sync for ContentLocal
impl Unpin for ContentLocal
impl UnwindSafe for ContentLocal
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