Struct svgr_rs::JSXRuntimeImport
source · pub struct JSXRuntimeImport {
pub source: String,
pub namespace: Option<String>,
pub default_specifier: Option<String>,
pub specifiers: Option<Vec<String>>,
}
Fields§
§source: String
§namespace: Option<String>
§default_specifier: Option<String>
§specifiers: Option<Vec<String>>
Trait Implementations§
source§impl Clone for JSXRuntimeImport
impl Clone for JSXRuntimeImport
source§fn clone(&self) -> JSXRuntimeImport
fn clone(&self) -> JSXRuntimeImport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JSXRuntimeImport
impl Debug for JSXRuntimeImport
source§impl Default for JSXRuntimeImport
impl Default for JSXRuntimeImport
source§fn default() -> JSXRuntimeImport
fn default() -> JSXRuntimeImport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JSXRuntimeImport
impl<'de> Deserialize<'de> for JSXRuntimeImport
source§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 RefUnwindSafe for JSXRuntimeImport
impl Send for JSXRuntimeImport
impl Sync for JSXRuntimeImport
impl Unpin for JSXRuntimeImport
impl UnwindSafe for JSXRuntimeImport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more