#[repr(u16)]pub enum Precedence {
Null = 0,
Avesterra = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Precedence
impl Clone for Precedence
Source§fn clone(&self) -> Precedence
fn clone(&self) -> Precedence
Returns a duplicate 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 Precedence
impl Debug for Precedence
Source§impl Default for Precedence
impl Default for Precedence
Source§fn default() -> Precedence
fn default() -> Precedence
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Precedence
impl<'de> Deserialize<'de> for Precedence
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 Hash for Precedence
impl Hash for Precedence
Source§impl PartialEq for Precedence
impl PartialEq for Precedence
Source§impl Serialize for Precedence
impl Serialize for Precedence
Source§impl TryFrom<u16> for Precedence
impl TryFrom<u16> for Precedence
Source§type Error = TryFromPrimitiveError<Precedence>
type Error = TryFromPrimitiveError<Precedence>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for Precedence
impl TryFromPrimitive for Precedence
const NAME: &'static str = "Precedence"
type Primitive = u16
type Error = TryFromPrimitiveError<Precedence>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for Precedence
impl Eq for Precedence
impl StructuralPartialEq for Precedence
Auto Trait Implementations§
impl Freeze for Precedence
impl RefUnwindSafe for Precedence
impl Send for Precedence
impl Sync for Precedence
impl Unpin for Precedence
impl UnwindSafe for Precedence
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