Struct swc_ecma_preset_env::BrowserData [−][src]
pub struct BrowserData<T: Default> {Show 17 fields
pub chrome: T,
pub and_chr: T,
pub and_ff: T,
pub op_mob: T,
pub ie: T,
pub edge: T,
pub firefox: T,
pub safari: T,
pub node: T,
pub ios: T,
pub samsung: T,
pub opera: T,
pub android: T,
pub electron: T,
pub phantom: T,
pub opera_mobile: T,
pub rhino: T,
}
Expand description
A map without allocation.
Fields
chrome: T
and_chr: T
and_ff: T
op_mob: T
ie: T
edge: T
firefox: T
safari: T
node: T
ios: T
samsung: T
opera: T
android: T
electron: T
phantom: T
opera_mobile: T
rhino: T
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
impl<'de, T: Default> Deserialize<'de> for BrowserData<T> where
T: Deserialize<'de>,
T: Default,
impl<'de, T: Default> Deserialize<'de> for BrowserData<T> where
T: Deserialize<'de>,
T: Default,
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 BrowserData<T> where
T: RefUnwindSafe,
impl<T> Send for BrowserData<T> where
T: Send,
impl<T> Sync for BrowserData<T> where
T: Sync,
impl<T> Unpin for BrowserData<T> where
T: Unpin,
impl<T> UnwindSafe for BrowserData<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more