Enum cameleon_genapi::interface::IStringKind
source · pub enum IStringKind<'a> {
String(&'a StringNode),
StringReg(&'a StringRegNode),
}
Variants§
String(&'a StringNode)
StringReg(&'a StringRegNode)
Trait Implementations§
source§impl<'a> Clone for IStringKind<'a>
impl<'a> Clone for IStringKind<'a>
source§fn clone(&self) -> IStringKind<'a>
fn clone(&self) -> IStringKind<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for IStringKind<'a>
impl<'a> Debug for IStringKind<'a>
source§impl<'a> IString for IStringKind<'a>
impl<'a> IString for IStringKind<'a>
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>
impl<'a> Copy for IStringKind<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IStringKind<'a>
impl<'a> Send for IStringKind<'a>
impl<'a> Sync for IStringKind<'a>
impl<'a> Unpin for IStringKind<'a>
impl<'a> UnwindSafe for IStringKind<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more