Struct cameleon_genapi::StringRegNode
source · pub struct StringRegNode { /* private fields */ }
Implementations§
source§impl StringRegNode
impl StringRegNode
pub fn register_base(&self) -> &RegisterBase
Trait Implementations§
source§impl Clone for StringRegNode
impl Clone for StringRegNode
source§fn clone(&self) -> StringRegNode
fn clone(&self) -> StringRegNode
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 Debug for StringRegNode
impl Debug for StringRegNode
source§impl INode for StringRegNode
impl INode for StringRegNode
source§impl IRegister for StringRegNode
impl IRegister for StringRegNode
source§fn read<T: ValueStore, U: CacheStore>(
&self,
buf: &mut [u8],
device: &mut impl Device,
store: &impl NodeStore,
cx: &mut ValueCtxt<T, U>
) -> GenApiResult<()>
fn read<T: ValueStore, U: CacheStore>( &self, buf: &mut [u8], device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
Read bytes from the register. Read more
source§fn write<T: ValueStore, U: CacheStore>(
&self,
buf: &[u8],
device: &mut impl Device,
store: &impl NodeStore,
cx: &mut ValueCtxt<T, U>
) -> GenApiResult<()>
fn write<T: ValueStore, U: CacheStore>( &self, buf: &[u8], device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
Write bytes to the register. Read more
fn address<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn length<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
source§impl IString for StringRegNode
impl IString for StringRegNode
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>
Auto Trait Implementations§
impl RefUnwindSafe for StringRegNode
impl Send for StringRegNode
impl Sync for StringRegNode
impl Unpin for StringRegNode
impl UnwindSafe for StringRegNode
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