Struct air_script_core::NamedTraceAccess
source · pub struct NamedTraceAccess { /* private fields */ }
Expand description
NamedTraceAccess is used to indicate a column in the trace by specifying its index within a set of trace columns with the given identifier. If the identifier refers to a single column then the index is always zero.
Implementations§
source§impl NamedTraceAccess
impl NamedTraceAccess
pub fn new(name: Identifier, idx: usize, row_offset: usize) -> Self
pub fn name(&self) -> &str
pub fn idx(&self) -> usize
sourcepub fn row_offset(&self) -> usize
pub fn row_offset(&self) -> usize
Gets the row offset of this NamedTraceAccess.
Trait Implementations§
source§impl Clone for NamedTraceAccess
impl Clone for NamedTraceAccess
source§fn clone(&self) -> NamedTraceAccess
fn clone(&self) -> NamedTraceAccess
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 NamedTraceAccess
impl Debug for NamedTraceAccess
source§impl PartialEq<NamedTraceAccess> for NamedTraceAccess
impl PartialEq<NamedTraceAccess> for NamedTraceAccess
source§fn eq(&self, other: &NamedTraceAccess) -> bool
fn eq(&self, other: &NamedTraceAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.