Enum fst_native::FstVarType
source · #[repr(u8)]pub enum FstVarType {
Show 30 variants
Event = 0,
Integer = 1,
Parameter = 2,
Real = 3,
RealParameter = 4,
Reg = 5,
Supply0 = 6,
Supply1 = 7,
Time = 8,
Tri = 9,
TriAnd = 10,
TriOr = 11,
TriReg = 12,
Tri0 = 13,
Tri1 = 14,
Wand = 15,
Wire = 16,
Wor = 17,
Port = 18,
SparseArray = 19,
RealTime = 20,
GenericString = 21,
Bit = 22,
Logic = 23,
Int = 24,
ShortInt = 25,
LongInt = 26,
Byte = 27,
Enum = 28,
ShortReal = 29,
}Variants§
Event = 0
Integer = 1
Parameter = 2
Real = 3
RealParameter = 4
Reg = 5
Supply0 = 6
Supply1 = 7
Time = 8
Tri = 9
TriAnd = 10
TriOr = 11
TriReg = 12
Tri0 = 13
Tri1 = 14
Wand = 15
Wire = 16
Wor = 17
Port = 18
SparseArray = 19
RealTime = 20
GenericString = 21
Bit = 22
Logic = 23
Int = 24
ShortInt = 25
LongInt = 26
Byte = 27
Enum = 28
ShortReal = 29
Trait Implementations§
source§impl Clone for FstVarType
impl Clone for FstVarType
source§fn clone(&self) -> FstVarType
fn clone(&self) -> FstVarType
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 FstVarType
impl Debug for FstVarType
source§impl PartialEq for FstVarType
impl PartialEq for FstVarType
source§fn eq(&self, other: &FstVarType) -> bool
fn eq(&self, other: &FstVarType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for FstVarType
impl TryFrom<u8> for FstVarType
§type Error = TryFromPrimitiveError<FstVarType>
type Error = TryFromPrimitiveError<FstVarType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for FstVarType
impl TryFromPrimitive for FstVarType
type Primitive = u8
type Error = TryFromPrimitiveError<FstVarType>
const NAME: &'static str = "FstVarType"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FstVarType
impl StructuralPartialEq for FstVarType
Auto Trait Implementations§
impl Freeze for FstVarType
impl RefUnwindSafe for FstVarType
impl Send for FstVarType
impl Sync for FstVarType
impl Unpin for FstVarType
impl UnwindSafe for FstVarType
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