pub struct LineRegion {
pub base_line: u64,
pub contract: Vec<String>,
pub words_per_port: u32,
pub stride_bits: u32,
}Expand description
Lines of a device’s memory holding contract ports from line base_line on: the listed ports in
order, each as words_per_port words, packed from the region’s first byte. An input region answers
reads with the call’s operands; an output region keeps the device’s writes.
Fields§
§base_line: u64§contract: Vec<String>§words_per_port: u32§stride_bits: u32The bits each port occupies, as a structure of machine words lays them out (0: its own width): an operand narrower than its stride is extended the way a bind extends one (by sign for a signed field), a result is read from the low bits of its stride.
Trait Implementations§
Source§impl Clone for LineRegion
impl Clone for LineRegion
Source§fn clone(&self) -> LineRegion
fn clone(&self) -> LineRegion
Returns a duplicate 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 LineRegion
impl Debug for LineRegion
Source§impl<'de> Deserialize<'de> for LineRegion
impl<'de> Deserialize<'de> for LineRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LineRegion
impl PartialEq for LineRegion
Source§impl Serialize for LineRegion
impl Serialize for LineRegion
impl StructuralPartialEq for LineRegion
Auto Trait Implementations§
impl Freeze for LineRegion
impl RefUnwindSafe for LineRegion
impl Send for LineRegion
impl Sync for LineRegion
impl Unpin for LineRegion
impl UnsafeUnpin for LineRegion
impl UnwindSafe for LineRegion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.