Enum swc::config::Rc[][src]

pub enum Rc {
    Single(Config),
    Multi(Vec<Config>),
}

.swcrc file

Variants

Single(Config)
Multi(Vec<Config>)

Implementations

impl Rc[src]

pub fn into_config(
    self,
    filename: Option<&Path>
) -> Result<Option<Config>, Error>
[src]

This method returns Ok(None) if the file should be ignored.

Trait Implementations

impl Clone for Rc[src]

impl Debug for Rc[src]

impl Default for Rc[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Rc[src]

impl Send for Rc[src]

impl Sync for Rc[src]

impl Unpin for Rc[src]

impl UnwindSafe for Rc[src]

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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Erased for T

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.