#[repr(u8)]pub enum FstVhdlVarType {
None = 0,
Signal = 1,
Variable = 2,
Constant = 3,
File = 4,
Memory = 5,
}Variants§
Trait Implementations§
Source§impl Clone for FstVhdlVarType
impl Clone for FstVhdlVarType
Source§fn clone(&self) -> FstVhdlVarType
fn clone(&self) -> FstVhdlVarType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FstVhdlVarType
Source§impl Debug for FstVhdlVarType
impl Debug for FstVhdlVarType
Source§impl PartialEq for FstVhdlVarType
impl PartialEq for FstVhdlVarType
Source§fn eq(&self, other: &FstVhdlVarType) -> bool
fn eq(&self, other: &FstVhdlVarType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FstVhdlVarType
Source§impl TryFrom<u8> for FstVhdlVarType
impl TryFrom<u8> for FstVhdlVarType
Source§type Error = TryFromPrimitiveError<FstVhdlVarType>
type Error = TryFromPrimitiveError<FstVhdlVarType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FstVhdlVarType
impl TryFromPrimitive for FstVhdlVarType
const NAME: &'static str = "FstVhdlVarType"
type Primitive = u8
type Error = TryFromPrimitiveError<FstVhdlVarType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for FstVhdlVarType
impl RefUnwindSafe for FstVhdlVarType
impl Send for FstVhdlVarType
impl Sync for FstVhdlVarType
impl Unpin for FstVhdlVarType
impl UnsafeUnpin for FstVhdlVarType
impl UnwindSafe for FstVhdlVarType
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