Enum prc::prc_trait::ParamNumber
source · [−]#[repr(u8)]
pub enum ParamNumber {
Bool,
I8,
U8,
I16,
U16,
I32,
U32,
Float,
Hash,
String,
List,
Struct,
}Expand description
The number associated with each type of param in a file
Variants
Bool
I8
U8
I16
U16
I32
U32
Float
Hash
String
List
Struct
Trait Implementations
sourceimpl Clone for ParamNumber
impl Clone for ParamNumber
sourcefn clone(&self) -> ParamNumber
fn clone(&self) -> ParamNumber
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ParamNumber
impl Debug for ParamNumber
sourceimpl From<ParamNumber> for u8
impl From<ParamNumber> for u8
sourcefn from(param_num: ParamNumber) -> Self
fn from(param_num: ParamNumber) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ParamNumber> for ParamNumber
impl PartialEq<ParamNumber> for ParamNumber
sourcefn eq(&self, other: &ParamNumber) -> bool
fn eq(&self, other: &ParamNumber) -> bool
sourceimpl TryFrom<u8> for ParamNumber
impl TryFrom<u8> for ParamNumber
impl Copy for ParamNumber
impl StructuralPartialEq for ParamNumber
Auto Trait Implementations
impl RefUnwindSafe for ParamNumber
impl Send for ParamNumber
impl Sync for ParamNumber
impl Unpin for ParamNumber
impl UnwindSafe for ParamNumber
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more