#[non_exhaustive]pub enum DisplayData {
PowerWorld(PwdDisplay),
}Expand description
Output of a display parse. v0.2.2 supports PowerWorld .pwd; future display
formats can add variants without changing the parse entry point.
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.
PowerWorld(PwdDisplay)
PowerWorld oneline display data.
Implementations§
Source§impl DisplayData
impl DisplayData
Sourcepub fn format(&self) -> DisplayFormat
pub fn format(&self) -> DisplayFormat
The display format represented by this value.
Trait Implementations§
Source§impl Clone for DisplayData
impl Clone for DisplayData
Source§fn clone(&self) -> DisplayData
fn clone(&self) -> DisplayData
Returns a duplicate of the value. Read more
1.0.0 · 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 DisplayData
impl Debug for DisplayData
Source§impl PartialEq for DisplayData
impl PartialEq for DisplayData
impl StructuralPartialEq for DisplayData
Auto Trait Implementations§
impl Freeze for DisplayData
impl RefUnwindSafe for DisplayData
impl Send for DisplayData
impl Sync for DisplayData
impl Unpin for DisplayData
impl UnsafeUnpin for DisplayData
impl UnwindSafe for DisplayData
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