[][src]Enum rustfmt_nightly::FileName

pub enum FileName {
    Real(PathBuf),
    Stdin,
}

Defines the name of an input - either a file or stdin.

Variants

Real(PathBuf)
Stdin

Trait Implementations

impl Clone for FileName[src]

impl Debug for FileName[src]

impl<'de> Deserialize<'de> for FileName[src]

impl Display for FileName[src]

impl Eq for FileName[src]

impl<'_> From<&'_ FileName> for FileName[src]

impl From<FileName> for FileName[src]

impl Hash for FileName[src]

impl Ord for FileName[src]

impl PartialEq<FileName> for FileName[src]

impl PartialOrd<FileName> for FileName[src]

impl Serialize for FileName[src]

impl StructuralEq for FileName[src]

impl StructuralPartialEq for FileName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.