Skip to main content

PropsPattern

Type Alias PropsPattern 

Source
pub type PropsPattern = Composition<Vec<(&'static str, &'static str)>>;
Expand description

§Contains List of (Ts prop name, Ts-type): For Struct or Variant

Aliased Type§

pub struct PropsPattern { /* private fields */ }

Implementations§

Source§

impl PropsPattern

Source

pub fn list(&self) -> &Vec<(&'static str, &'static str)>