Struct styled_jsx::visitor::NativeConfig
source · pub struct NativeConfig<'a> {
pub process_css: Option<Box<dyn for<'aa> Fn(&'aa str) -> Result<String, Error> + 'a>>,
}
Fields§
§process_css: Option<Box<dyn for<'aa> Fn(&'aa str) -> Result<String, Error> + 'a>>
Trait Implementations§
source§impl<'a> Default for NativeConfig<'a>
impl<'a> Default for NativeConfig<'a>
source§fn default() -> NativeConfig<'a>
fn default() -> NativeConfig<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NativeConfig<'a>
impl<'a> !Send for NativeConfig<'a>
impl<'a> !Sync for NativeConfig<'a>
impl<'a> Unpin for NativeConfig<'a>
impl<'a> !UnwindSafe for NativeConfig<'a>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer