[−][src]Enum rgb::DataFormat
Variants (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.
Strict encoding
Implementations
impl DataFormat[src]
Trait Implementations
impl ArgEnum for DataFormat[src]
pub const VARIANTS: &'static [&'static str][src]
pub fn from_str(input: &str, case_insensitive: bool) -> Result<Self, String>[src]
impl Clap for DataFormat[src]
pub fn parse() -> Self[src]
pub fn try_parse() -> Result<Self, Error>[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>, [src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>, [src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Clone for DataFormat[src]
pub fn clone(&self) -> DataFormat[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DataFormat[src]
impl Debug for DataFormat[src]
impl Display for DataFormat[src]
impl Eq for DataFormat[src]
impl FromArgMatches for DataFormat[src]
pub fn from_arg_matches(matches: &ArgMatches) -> Self[src]
impl FromPrimitive for DataFormat[src]
pub fn from_i64(n: i64) -> Option<Self>[src]
pub fn from_u64(n: u64) -> Option<Self>[src]
pub fn from_isize(n: isize) -> Option<Self>[src]
pub fn from_i8(n: i8) -> Option<Self>[src]
pub fn from_i16(n: i16) -> Option<Self>[src]
pub fn from_i32(n: i32) -> Option<Self>[src]
pub fn from_i128(n: i128) -> Option<Self>[src]
pub fn from_usize(n: usize) -> Option<Self>[src]
pub fn from_u8(n: u8) -> Option<Self>[src]
pub fn from_u16(n: u16) -> Option<Self>[src]
pub fn from_u32(n: u32) -> Option<Self>[src]
pub fn from_u128(n: u128) -> Option<Self>[src]
pub fn from_f32(n: f32) -> Option<Self>[src]
pub fn from_f64(n: f64) -> Option<Self>[src]
impl FromStr for DataFormat[src]
type Err = FileFormatParseError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>[src]
impl Hash for DataFormat[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl IntoApp for DataFormat[src]
impl PartialEq<DataFormat> for DataFormat[src]
pub fn eq(&self, other: &DataFormat) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StrictDecode for DataFormat[src]
type Error = Error
Implementation-dependent error type
pub fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>[src]
impl StrictEncode for DataFormat[src]
type Error = Error
Implementation-dependent error type
pub fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>[src]
impl StructuralEq for DataFormat[src]
impl StructuralPartialEq for DataFormat[src]
impl Subcommand for DataFormat[src]
pub fn augment_subcommands<'b>(app: App<'b>) -> App<'b>[src]
pub fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>[src]
impl ToPrimitive for DataFormat[src]
pub fn to_i64(&self) -> Option<i64>[src]
pub fn to_u64(&self) -> Option<u64>[src]
pub fn to_isize(&self) -> Option<isize>[src]
pub fn to_i8(&self) -> Option<i8>[src]
pub fn to_i16(&self) -> Option<i16>[src]
pub fn to_i32(&self) -> Option<i32>[src]
pub fn to_i128(&self) -> Option<i128>[src]
pub fn to_usize(&self) -> Option<usize>[src]
pub fn to_u8(&self) -> Option<u8>[src]
pub fn to_u16(&self) -> Option<u16>[src]
pub fn to_u32(&self) -> Option<u32>[src]
pub fn to_u128(&self) -> Option<u128>[src]
pub fn to_f32(&self) -> Option<f32>[src]
pub fn to_f64(&self) -> Option<f64>[src]
Auto Trait Implementations
impl RefUnwindSafe for DataFormat[src]
impl Send for DataFormat[src]
impl Sync for DataFormat[src]
impl Unpin for DataFormat[src]
impl UnwindSafe for DataFormat[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoSql for T[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>, [src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, [src]
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,