pub enum FlashInfoElement {
Block(FlashBlock),
Gap(FlashGap),
}Expand description
Represents the valid <flashinfo> child elements, with document order preserved
Variants§
Block(FlashBlock)
A contiguous flash block, see FlashBlock
Gap(FlashGap)
A gap between flash regions, see FlashGap
Trait Implementations§
Source§impl Clone for FlashInfoElement
impl Clone for FlashInfoElement
Source§fn clone(&self) -> FlashInfoElement
fn clone(&self) -> FlashInfoElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlashInfoElement
impl Debug for FlashInfoElement
Source§impl Default for FlashInfoElement
impl Default for FlashInfoElement
Source§impl<'de> Deserialize<'de> for FlashInfoElement
impl<'de> Deserialize<'de> for FlashInfoElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FlashInfoElement
Source§impl PartialEq for FlashInfoElement
impl PartialEq for FlashInfoElement
Source§impl Serialize for FlashInfoElement
impl Serialize for FlashInfoElement
impl StructuralPartialEq for FlashInfoElement
Auto Trait Implementations§
impl Freeze for FlashInfoElement
impl RefUnwindSafe for FlashInfoElement
impl Send for FlashInfoElement
impl Sync for FlashInfoElement
impl Unpin for FlashInfoElement
impl UnsafeUnpin for FlashInfoElement
impl UnwindSafe for FlashInfoElement
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