[][src]Trait structural::structural_trait::Structural

pub trait Structural {
    type Fields;

    const FIELDS: &'static [FieldInfo];
}

Indicates and provides information about the fields that implement accessor traits.

Associated Types

type Fields

A type-level list of field name,field type pairs.

Those lists can be manually constructed like this:

use structural::{
    TList,TI,
    structural_trait::TField,
};
 
type TheList=TList![
    TField<TI!(f o o),String>,
    TField<TI!(b a r),Vec<u8>>,
];
 
Loading content...

Associated Constants

const FIELDS: &'static [FieldInfo]

Information about fields that have accessor trait implemented for them.

Loading content...

Implementations on Foreign Types

impl<C0> Structural for (C0,)[src]

impl<C0, C1> Structural for (C0, C1)[src]

impl<C0, C1, C2> Structural for (C0, C1, C2)[src]

impl<C0, C1, C2, C3> Structural for (C0, C1, C2, C3)[src]

impl<C0, C1, C2, C3, C4> Structural for (C0, C1, C2, C3, C4)[src]

impl<C0, C1, C2, C3, C4, C5> Structural for (C0, C1, C2, C3, C4, C5)[src]

impl<C0, C1, C2, C3, C4, C5, C6> Structural for (C0, C1, C2, C3, C4, C5, C6)[src]

impl<C0, C1, C2, C3, C4, C5, C6, C7> Structural for (C0, C1, C2, C3, C4, C5, C6, C7)[src]

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8> Structural for (C0, C1, C2, C3, C4, C5, C6, C7, C8)[src]

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> Structural for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)[src]

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> Structural for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)[src]

impl<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11> Structural for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)[src]

impl<T> Structural for Range<T>[src]

impl<T> Structural for RangeFrom<T>[src]

impl<T> Structural for RangeTo<T>[src]

impl<T> Structural for RangeToInclusive<T>[src]

impl<T> Structural for RangeInclusive<T>[src]

impl<T> Structural for ManuallyDrop<T> where
    T: Structural
[src]

impl<P> Structural for Pin<P> where
    P::Target: Structural,
    P: Deref,
    P::Target: Sized
[src]

impl<T> Structural for Box<T> where
    T: Structural
[src]

impl<T> Structural for Arc<T> where
    T: Structural
[src]

impl<T> Structural for Rc<T> where
    T: Structural
[src]

Loading content...

Implementors

Loading content...