pub trait IString {
    // Required methods
    fn value<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<String>;
    fn set_value<T: ValueStore, U: CacheStore>(
        &self,
        value: String,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<()>;
    fn max_length<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<i64>;
    fn is_readable<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<bool>;
    fn is_writable<T: ValueStore, U: CacheStore>(
        &self,
        device: &mut impl Device,
        store: &impl NodeStore,
        cx: &mut ValueCtxt<T, U>
    ) -> GenApiResult<bool>;
}

Required Methods§

source

fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<String>

source

fn set_value<T: ValueStore, U: CacheStore>( &self, value: String, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>

source

fn max_length<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>

source

fn is_readable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>

source

fn is_writable<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<bool>

Implementors§