Trait blackbox_log::frame::FrameDef
source · pub trait FrameDef<'data>: Sealed {
type Unit: Into<Unit>;
// Required methods
fn len(&self) -> usize;
fn get<'def>(
&'def self,
index: usize
) -> Option<FieldDef<'data, Self::Unit>>
where 'data: 'def;
// Provided methods
fn is_empty(&self) -> bool { ... }
fn iter<'def>(&'def self) -> FieldDefIter<'data, 'def, Self> ⓘ
where Self: Sized { ... }
}
Expand description
A parsed data frame definition.
Note: All methods exclude any required metadata fields. See each frame’s definition struct documentation for a list.
Required Associated Types§
Required Methods§
Provided Methods§
sourcefn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Returns true
if the frame is empty, or none of its fields satisfy
the configured filter.
sourcefn iter<'def>(&'def self) -> FieldDefIter<'data, 'def, Self> ⓘwhere
Self: Sized,
fn iter<'def>(&'def self) -> FieldDefIter<'data, 'def, Self> ⓘwhere
Self: Sized,
Iterates over all field definitions in order.