Enum rustfmt_nightly::config::options::__define_config_type_on_enum_HexLiteralCase::HexLiteralCase
source · pub enum HexLiteralCase {
Preserve,
Upper,
Lower,
}Variants
Preserve
Leave the literal as-is
Upper
Ensure all literals use uppercase lettering
Lower
Ensure all literals use lowercase lettering
Trait Implementations
sourceimpl Clone for HexLiteralCase
impl Clone for HexLiteralCase
sourcefn clone(&self) -> HexLiteralCase
fn clone(&self) -> HexLiteralCase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl ConfigType for HexLiteralCase
impl ConfigType for HexLiteralCase
sourceimpl Debug for HexLiteralCase
impl Debug for HexLiteralCase
sourceimpl<'de> Deserialize<'de> for HexLiteralCase
impl<'de> Deserialize<'de> for HexLiteralCase
sourcefn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HexLiteralCase
impl Display for HexLiteralCase
sourceimpl FromStr for HexLiteralCase
impl FromStr for HexLiteralCase
sourceimpl PartialEq<HexLiteralCase> for HexLiteralCase
impl PartialEq<HexLiteralCase> for HexLiteralCase
sourcefn eq(&self, other: &HexLiteralCase) -> bool
fn eq(&self, other: &HexLiteralCase) -> bool
sourceimpl Serialize for HexLiteralCase
impl Serialize for HexLiteralCase
impl Copy for HexLiteralCase
impl Eq for HexLiteralCase
impl StructuralEq for HexLiteralCase
impl StructuralPartialEq for HexLiteralCase
Auto Trait Implementations
impl RefUnwindSafe for HexLiteralCase
impl Send for HexLiteralCase
impl Sync for HexLiteralCase
impl Unpin for HexLiteralCase
impl UnwindSafe for HexLiteralCase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Preserve: 0 bytesUpper: 0 bytesLower: 0 bytes