Struct swc_ecma_transforms_react::RefreshOptions
source · [−]pub struct RefreshOptions {
pub refresh_reg: String,
pub refresh_sig: String,
pub emit_full_signatures: bool,
}
Fields
refresh_reg: String
refresh_sig: String
emit_full_signatures: bool
Trait Implementations
sourceimpl Clone for RefreshOptions
impl Clone for RefreshOptions
sourcefn clone(&self) -> RefreshOptions
fn clone(&self) -> RefreshOptions
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 Debug for RefreshOptions
impl Debug for RefreshOptions
sourceimpl Default for RefreshOptions
impl Default for RefreshOptions
sourceimpl<'de> Deserialize<'de> for RefreshOptions
impl<'de> Deserialize<'de> for RefreshOptions
sourcefn 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
sourceimpl PartialEq<RefreshOptions> for RefreshOptions
impl PartialEq<RefreshOptions> for RefreshOptions
sourcefn eq(&self, other: &RefreshOptions) -> bool
fn eq(&self, other: &RefreshOptions) -> bool
sourceimpl Serialize for RefreshOptions
impl Serialize for RefreshOptions
impl Eq for RefreshOptions
impl StructuralEq for RefreshOptions
impl StructuralPartialEq for RefreshOptions
Auto Trait Implementations
impl RefUnwindSafe for RefreshOptions
impl Send for RefreshOptions
impl Sync for RefreshOptions
impl Unpin for RefreshOptions
impl UnwindSafe for RefreshOptions
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.