Map

Type Alias Map 

Source
pub type Map<V, K = ShortStr> = IndexMap<K, V>;

Aliased Type§

pub struct Map<V, K = ShortStr> { /* private fields */ }

Trait Implementations§

Source§

impl<T: LogixType, K> LogixType for Map<T, K>
where K: AsRef<str> + From<ShortStr> + Hash + Eq,

Source§

fn descriptor() -> &'static LogixTypeDescriptor

A description of the type, intended used for documentation and auto-completion
Source§

fn default_value() -> Option<Self>

If the value is optional, this returns Some
Source§

fn logix_parse<FS: LogixVfs>( p: &mut LogixParser<'_, '_, FS>, ) -> Result<Value<Self>>

Parse the value from the given parser state