[][src]Struct polsim::from_toml::ElemDef

pub struct ElemDef {
    pub element_type: ElemType,
    pub phase: Option<f64>,
    pub phase_units: Option<AngleType>,
    pub angle: Option<f64>,
    pub angle_units: Option<AngleType>,
}

Fields

element_type: ElemTypephase: Option<f64>phase_units: Option<AngleType>angle: Option<f64>angle_units: Option<AngleType>

Trait Implementations

impl Debug for ElemDef[src]

impl<'de> Deserialize<'de> for ElemDef[src]

impl Serialize for ElemDef[src]

Auto Trait Implementations

impl Send for ElemDef

impl Unpin for ElemDef

impl Sync for ElemDef

impl UnwindSafe for ElemDef

impl RefUnwindSafe for ElemDef

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]