#[repr(u8)]pub enum ParamNumber {
Bool = 1,
I8 = 2,
U8 = 3,
I16 = 4,
U16 = 5,
I32 = 6,
U32 = 7,
Float = 8,
Hash = 9,
String = 10,
List = 11,
Struct = 12,
}Expand description
The number associated with each type of param in a file
Variants§
Bool = 1
I8 = 2
U8 = 3
I16 = 4
U16 = 5
I32 = 6
U32 = 7
Float = 8
Hash = 9
String = 10
List = 11
Struct = 12
Trait Implementations§
Source§impl Clone for ParamNumber
impl Clone for ParamNumber
Source§fn clone(&self) -> ParamNumber
fn clone(&self) -> ParamNumber
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 ParamNumber
impl Debug for ParamNumber
Source§impl From<ParamNumber> for u8
impl From<ParamNumber> for u8
Source§fn from(param_num: ParamNumber) -> Self
fn from(param_num: ParamNumber) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParamNumber
impl PartialEq for ParamNumber
Source§impl TryFrom<u8> for ParamNumber
impl TryFrom<u8> for ParamNumber
impl Copy for ParamNumber
impl Eq for ParamNumber
impl StructuralPartialEq for ParamNumber
Auto Trait Implementations§
impl Freeze for ParamNumber
impl RefUnwindSafe for ParamNumber
impl Send for ParamNumber
impl Sync for ParamNumber
impl Unpin for ParamNumber
impl UnwindSafe for ParamNumber
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.