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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for NamedTraceAccess
impl PartialEq for NamedTraceAccess
impl Eq for NamedTraceAccess
impl StructuralPartialEq for NamedTraceAccess
Auto Trait Implementations§
impl Freeze for NamedTraceAccess
impl RefUnwindSafe for NamedTraceAccess
impl Send for NamedTraceAccess
impl Sync for NamedTraceAccess
impl Unpin for NamedTraceAccess
impl UnwindSafe for NamedTraceAccess
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