pub struct Flat<A, B>(pub A, pub B);
Tuple Fields§
§0: A
§1: B
Trait Implementations§
Source§impl<A, B> CommandFactory for Flat<A, B>where
A: CommandFactory,
B: Args,
impl<A, B> CommandFactory for Flat<A, B>where
A: CommandFactory,
B: Args,
Source§impl<'de, A, B> Deserialize<'de> for Flat<A, B>where
A: DeserializeOwned,
B: DeserializeOwned,
impl<'de, A, B> Deserialize<'de> for Flat<A, B>where
A: DeserializeOwned,
B: DeserializeOwned,
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
Source§impl<A, B> FromArgMatches for Flat<A, B>where
A: FromArgMatches,
B: FromArgMatches,
impl<A, B> FromArgMatches for Flat<A, B>where
A: FromArgMatches,
B: FromArgMatches,
Source§fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(matches: &mut ArgMatches) -> Result<Self, Error>
fn from_arg_matches_mut(matches: &mut ArgMatches) -> Result<Self, Error>
Source§fn update_from_arg_matches(&mut self, matches: &ArgMatches) -> Result<(), Error>
fn update_from_arg_matches(&mut self, matches: &ArgMatches) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Auto Trait Implementations§
impl<A, B> Freeze for Flat<A, B>
impl<A, B> RefUnwindSafe for Flat<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Flat<A, B>
impl<A, B> Sync for Flat<A, B>
impl<A, B> Unpin for Flat<A, B>
impl<A, B> UnwindSafe for Flat<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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