Struct cameleon_genapi::MaskedIntRegNode
source · pub struct MaskedIntRegNode { /* private fields */ }
Implementations§
source§impl MaskedIntRegNode
impl MaskedIntRegNode
pub fn register_base(&self) -> &RegisterBase
pub fn bit_mask(&self) -> BitMask
pub fn sign(&self) -> Sign
pub fn endianness(&self) -> Endianness
pub fn unit_elem(&self) -> Option<&str>
pub fn representation_elem(&self) -> IntegerRepresentation
pub fn p_selected(&self) -> &[NodeId]
Trait Implementations§
source§impl Clone for MaskedIntRegNode
impl Clone for MaskedIntRegNode
source§fn clone(&self) -> MaskedIntRegNode
fn clone(&self) -> MaskedIntRegNode
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 MaskedIntRegNode
impl Debug for MaskedIntRegNode
source§impl IInteger for MaskedIntRegNode
impl IInteger for MaskedIntRegNode
fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn set_value<T: ValueStore, U: CacheStore>( &self, value: i64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn min<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn max<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<i64>
fn inc_mode(&self, _: &impl NodeStore) -> Option<IncrementMode>
fn inc<T: ValueStore, U: CacheStore>( &self, _: &mut impl Device, _: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<Option<i64>>
source§fn valid_value_set(&self, _: &impl NodeStore) -> &[i64]
fn valid_value_set(&self, _: &impl NodeStore) -> &[i64]
NOTE:
ValidValueSet
is not supported in GenApiSchema Version 1.1
yet.fn representation(&self, _: &impl NodeStore) -> IntegerRepresentation
fn unit(&self, _: &impl NodeStore) -> Option<&str>
fn set_min<T: ValueStore, U: CacheStore>( &self, _: i64, _: &mut impl Device, store: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn set_max<T: ValueStore, U: CacheStore>( &self, _: i64, _: &mut impl Device, store: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
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>
source§impl INode for MaskedIntRegNode
impl INode for MaskedIntRegNode
source§impl IRegister for MaskedIntRegNode
impl IRegister for MaskedIntRegNode
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 ISelector for MaskedIntRegNode
impl ISelector for MaskedIntRegNode
source§fn selecting_nodes(&self, _: &impl NodeStore) -> GenApiResult<&[NodeId]>
fn selecting_nodes(&self, _: &impl NodeStore) -> GenApiResult<&[NodeId]>
Return nodes which refer to the current node as a selector.
Auto Trait Implementations§
impl RefUnwindSafe for MaskedIntRegNode
impl Send for MaskedIntRegNode
impl Sync for MaskedIntRegNode
impl Unpin for MaskedIntRegNode
impl UnwindSafe for MaskedIntRegNode
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