Lines Matching refs:Clone

558 impl Clone for ValueParser {
598 T: std::any::Any + Clone + Send + Sync + 'static,
652 /// #[derive(Clone)]
655 /// #[derive(Clone)]
685 pub trait TypedValueParser: Clone + Send + Sync + 'static {
687 type Value: Send + Sync + Clone;
759 T: Send + Sync + Clone,
760 F: Fn(Self::Value) -> T + Clone,
808 F: Fn(Self::Value) -> Result<T, E> + Clone + Send + Sync + 'static,
809 T: Send + Sync + Clone,
818 F: Fn(&str) -> Result<T, E> + Clone + Send + Sync + 'static,
820 T: Send + Sync + Clone,
849 #[derive(Copy, Clone, Debug)]
897 #[derive(Copy, Clone, Debug)]
939 #[derive(Copy, Clone, Debug)]
1023 #[derive(Clone, Debug)]
1024 pub struct EnumValueParser<E: crate::ValueEnum + Clone + Send + Sync + 'static>(
1028 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> EnumValueParser<E> {
1036 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> TypedValueParser for EnumValueParser<E> {
1095 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> Default for EnumValueParser<E> {
1138 #[derive(Clone, Debug)]
1251 #[derive(Copy, Clone, Debug)]
1252 pub struct RangedI64ValueParser<T: std::convert::TryFrom<i64> + Clone + Send + Sync = i64> {
1257 impl<T: std::convert::TryFrom<i64> + Clone + Send + Sync> RangedI64ValueParser<T> {
1337 impl<T: std::convert::TryFrom<i64> + Clone + Send + Sync + 'static> TypedValueParser
1396 impl<T: std::convert::TryFrom<i64> + Clone + Send + Sync, B: RangeBounds<i64>> From<B>
1407 impl<T: std::convert::TryFrom<i64> + Clone + Send + Sync> Default for RangedI64ValueParser<T> {
1449 #[derive(Copy, Clone, Debug)]
1535 impl<T: std::convert::TryFrom<u64> + Clone + Send + Sync + 'static> TypedValueParser
1612 #[derive(Copy, Clone, Debug)]
1711 #[derive(Copy, Clone, Debug)]
1808 #[derive(Copy, Clone, Debug)]
1897 #[derive(Copy, Clone, Debug)]
1944 #[derive(Clone, Debug)]
1953 P::Value: Send + Sync + Clone,
1954 F: Fn(P::Value) -> T + Clone,
1955 T: Send + Sync + Clone,
1965 P::Value: Send + Sync + Clone,
1966 F: Fn(P::Value) -> T + Clone + Send + Sync + 'static,
1967 T: Send + Sync + Clone,
2003 #[derive(Clone, Debug)]
2012 P::Value: Send + Sync + Clone,
2013 F: Fn(P::Value) -> Result<T, E> + Clone + Send + Sync + 'static,
2014 T: Send + Sync + Clone,
2025 P::Value: Send + Sync + Clone,
2026 F: Fn(P::Value) -> Result<T, E> + Clone + Send + Sync + 'static,
2027 T: Send + Sync + Clone,
2061 /// #[derive(Copy, Clone, Debug)]
2071 /// #[derive(Clone, Debug)]
2226 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> _ValueParserViaValueEnum
2242 FromOsString: From<std::ffi::OsString> + std::any::Any + Clone + Send + Sync + 'static,
2260 for<'s> From<&'s std::ffi::OsStr> + std::any::Any + Clone + Send + Sync + 'static,
2277 FromString: From<String> + std::any::Any + Clone + Send + Sync + 'static,
2290 FromStr: for<'s> From<&'s str> + std::any::Any + Clone + Send + Sync + 'static,
2303 Parse: std::str::FromStr + std::any::Any + Clone + Send + Sync + 'static,