[][src]Trait scf_core::property::PropertyConfig

pub trait PropertyConfig<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint>: RawPropertyConfig {
    fn get_key(&self) -> Box<K>;
fn get_default_value(&self) -> Option<Box<V>>;
fn clone_boxed(&self) -> Box<dyn PropertyConfig<K, V>>;
fn to_boxed(self) -> Box<dyn PropertyConfig<K, V>>; }

Required methods

fn get_key(&self) -> Box<K>

a unique key in a configuration manager to identify a unique property,

fn get_default_value(&self) -> Option<Box<V>>

default value of the property

default to None

fn clone_boxed(&self) -> Box<dyn PropertyConfig<K, V>>

fn to_boxed(self) -> Box<dyn PropertyConfig<K, V>>

Loading content...

Implementors

impl<K: ?Sized + KeyConstraint, V: ?Sized + ValueConstraint> PropertyConfig<K, V> for DefaultPropertyConfig<K, V>[src]

Loading content...