pub enum MainItem {
Input(InputItem),
Output(OutputItem),
Feature(FeatureItem),
Collection(CollectionItem),
EndCollection,
}Expand description
Main Items, see Section 6.2.2.4
Main items are used to either define or group certain types of data fields within a Report descriptor. There are two types of Main items: data and non-data. Data- type Main items are used to create a field within a report and include Input, Output, and Feature. Other items do not create fields and are subsequently referred to as non-data Main items.
Variants§
Implementations§
Trait Implementations§
impl Copy for MainItem
impl StructuralPartialEq for MainItem
Auto Trait Implementations§
impl Freeze for MainItem
impl RefUnwindSafe for MainItem
impl Send for MainItem
impl Sync for MainItem
impl Unpin for MainItem
impl UnwindSafe for MainItem
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