Struct cameleon_genapi::PortNode
source · pub struct PortNode { /* private fields */ }
Implementations§
source§impl PortNode
impl PortNode
pub fn chunk_id(&self) -> Option<&ImmOrPNode<u64>>
pub fn swap_endianness(&self) -> bool
pub fn cache_chunk_data(&self) -> bool
Trait Implementations§
source§impl IPort for PortNode
impl IPort for PortNode
fn read<T: ValueStore, U: CacheStore>( &self, address: i64, buf: &mut [u8], device: &mut impl Device, store: &impl NodeStore, _: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
fn write<T: ValueStore, U: CacheStore>( &self, address: i64, buf: &[u8], device: &mut impl Device, store: &impl NodeStore, cx: &mut ValueCtxt<T, U> ) -> GenApiResult<()>
Auto Trait Implementations§
impl RefUnwindSafe for PortNode
impl Send for PortNode
impl Sync for PortNode
impl Unpin for PortNode
impl UnwindSafe for PortNode
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