Enum swc::config::util::BoolOrObject [−][src]
pub enum BoolOrObject<T> {
Bool(bool),
Obj(T),
}
Variants
Tuple Fields of Bool
0: bool
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for BoolOrObject<T> where
T: RefUnwindSafe,
impl<T> Send for BoolOrObject<T> where
T: Send,
impl<T> Sync for BoolOrObject<T> where
T: Sync,
impl<T> Unpin for BoolOrObject<T> where
T: Unpin,
impl<T> UnwindSafe for BoolOrObject<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self