[−][src]Struct moore_vhdl::ty::PhysicalTy
A physical type.
Fields
decl: TypeDeclRef
The declaration of the physical type.
base: IntTy
The underlying integer type.
units: Vec<PhysicalUnit>
The table of units.
primary: usize
The index of the primary unit.
Implementations
impl PhysicalTy
[src]
pub fn new(
decl: TypeDeclRef,
base: IntTy,
units: Vec<PhysicalUnit>,
primary: usize
) -> PhysicalTy
[src]
decl: TypeDeclRef,
base: IntTy,
units: Vec<PhysicalUnit>,
primary: usize
) -> PhysicalTy
Create a new physical type.
Trait Implementations
impl Clone for PhysicalTy
[src]
fn clone(&self) -> PhysicalTy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PhysicalTy
[src]
impl Display for PhysicalTy
[src]
impl Eq for PhysicalTy
[src]
impl From<PhysicalTy> for Ty
[src]
fn from(t: PhysicalTy) -> Ty
[src]
impl PartialEq<PhysicalTy> for PhysicalTy
[src]
fn eq(&self, other: &PhysicalTy) -> bool
[src]
fn ne(&self, other: &PhysicalTy) -> bool
[src]
impl StructuralEq for PhysicalTy
[src]
impl StructuralPartialEq for PhysicalTy
[src]
Auto Trait Implementations
impl RefUnwindSafe for PhysicalTy
impl Send for PhysicalTy
impl Sync for PhysicalTy
impl Unpin for PhysicalTy
impl UnwindSafe for PhysicalTy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,