#[non_exhaustive]pub enum StaticDataPart {
A {
name: Option<InlineStr<NAME_CHARS>>,
},
B(ClassBStaticData),
}Expand description
Parts of a class B static data report.
#[non_exhaustive]; match with a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for StaticDataPart
impl Clone for StaticDataPart
impl Copy for StaticDataPart
Source§impl Debug for StaticDataPart
impl Debug for StaticDataPart
Source§impl PartialEq for StaticDataPart
impl PartialEq for StaticDataPart
impl StructuralPartialEq for StaticDataPart
Auto Trait Implementations§
impl Freeze for StaticDataPart
impl RefUnwindSafe for StaticDataPart
impl Send for StaticDataPart
impl Sync for StaticDataPart
impl Unpin for StaticDataPart
impl UnsafeUnpin for StaticDataPart
impl UnwindSafe for StaticDataPart
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