pub enum ValidTablePartParse {
MD,
MF,
XD,
XF,
}Variants§
Trait Implementations§
Source§impl Clone for ValidTablePartParse
impl Clone for ValidTablePartParse
Source§fn clone(&self) -> ValidTablePartParse
fn clone(&self) -> ValidTablePartParse
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 ValidTablePartParse
impl Debug for ValidTablePartParse
Source§impl ParseFromFlags for ValidTablePartParse
impl ParseFromFlags for ValidTablePartParse
Source§type Config = ValidTablePartConfig
type Config = ValidTablePartConfig
Typ konfiguracji, który zostanie zwrócony
Source§fn parse(s: &str) -> Result<Self, String>
fn parse(s: &str) -> Result<Self, String>
Parsuje pojedynczego stringa (flagę CLI) na wariant Enuma.
Zwraca Result, aby umożliwić obsługę lub zignorowanie nieznanych flag.
Source§fn parse_vec_as_config<I>(inputs: I) -> Self::Config
fn parse_vec_as_config<I>(inputs: I) -> Self::Config
Przetwarza wektor stringów (flag) na zwalidowaną strukturę konfiguracyjną
Auto Trait Implementations§
impl Freeze for ValidTablePartParse
impl RefUnwindSafe for ValidTablePartParse
impl Send for ValidTablePartParse
impl Sync for ValidTablePartParse
impl Unpin for ValidTablePartParse
impl UnsafeUnpin for ValidTablePartParse
impl UnwindSafe for ValidTablePartParse
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