Struct cameleon_genapi::FloatRegNode
source · pub struct FloatRegNode { /* private fields */ }
Implementations§
source§impl FloatRegNode
impl FloatRegNode
pub fn register_base(&self) -> &RegisterBase
pub fn endianness(&self) -> Endianness
pub fn unit_elem(&self) -> Option<&str>
pub fn representation_elem(&self) -> FloatRepresentation
pub fn display_notation_elem(&self) -> DisplayNotation
pub fn display_precision_elem(&self) -> i64
Trait Implementations§
source§impl Clone for FloatRegNode
impl Clone for FloatRegNode
source§fn clone(&self) -> FloatRegNode
fn clone(&self) -> FloatRegNode
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 FloatRegNode
impl Debug for FloatRegNode
source§impl IFloat for FloatRegNode
impl IFloat for FloatRegNode
fn value<T: ValueStore, U: CacheStore>( &self, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>
fn set_value<T: ValueStore, U: CacheStore>( &self, value: f64, device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn min<T: ValueStore, U: CacheStore>( &self, _: &mut impl Device, _: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>
fn max<T: ValueStore, U: CacheStore>( &self, _: &mut impl Device, _: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<f64>
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<f64>>
fn representation(&self, _: &impl NodeStore) -> FloatRepresentation
fn unit(&self, _: &impl NodeStore) -> Option<&str>
fn display_notation(&self, _: &impl NodeStore) -> DisplayNotation
fn display_precision(&self, _: &impl NodeStore) -> i64
fn set_min<T: ValueStore, U: CacheStore>( &self, _: f64, _: &mut impl Device, store: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn set_max<T: ValueStore, U: CacheStore>( &self, _: f64, _: &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 FloatRegNode
impl INode for FloatRegNode
source§impl IRegister for FloatRegNode
impl IRegister for FloatRegNode
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>
Auto Trait Implementations§
impl RefUnwindSafe for FloatRegNode
impl Send for FloatRegNode
impl Sync for FloatRegNode
impl Unpin for FloatRegNode
impl UnwindSafe for FloatRegNode
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