[][src]Enum scale_info::build::Fields

pub enum Fields {}

Provides FieldsBuilder constructors

Implementations

impl Fields[src]

pub fn unit() -> FieldsBuilder<NoFields>[src]

The type construct has no fields

pub fn named() -> FieldsBuilder<NamedFields>[src]

Fields for a type construct with named fields

pub fn unnamed() -> FieldsBuilder<UnnamedFields>[src]

Fields for a type construct with unnamed fields

Auto Trait Implementations

impl RefUnwindSafe for Fields

impl Send for Fields

impl Sync for Fields

impl Unpin for Fields

impl UnwindSafe for Fields

Blanket Implementations

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

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

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

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.