pub struct StyleSheetTransformer { /* private fields */ }
Implementations§
Source§impl StyleSheetTransformer
impl StyleSheetTransformer
pub fn new( name: &str, s: &str, class_prefix: Option<String>, rpx_ratio: f32, convert_host: bool, ) -> Self
pub fn extrace_warnings(&mut self) -> JsValue
pub fn get_content(&self) -> String
pub fn get_source_map(&self) -> String
pub fn get_low_priority_content(&self) -> String
pub fn get_low_priority_source_map(&self) -> String
Trait Implementations§
Source§impl From<StyleSheetTransformer> for JsValue
impl From<StyleSheetTransformer> for JsValue
Source§fn from(value: StyleSheetTransformer) -> Self
fn from(value: StyleSheetTransformer) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for StyleSheetTransformer
impl FromWasmAbi for StyleSheetTransformer
Source§impl IntoWasmAbi for StyleSheetTransformer
impl IntoWasmAbi for StyleSheetTransformer
Source§impl RefFromWasmAbi for StyleSheetTransformer
impl RefFromWasmAbi for StyleSheetTransformer
Source§type Anchor = RcRef<StyleSheetTransformer>
type Anchor = RcRef<StyleSheetTransformer>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for StyleSheetTransformer
impl VectorFromWasmAbi for StyleSheetTransformer
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[StyleSheetTransformer]>
Source§impl VectorIntoJsValue for StyleSheetTransformer
impl VectorIntoJsValue for StyleSheetTransformer
fn vector_into_jsvalue(vector: Box<[StyleSheetTransformer]>) -> JsValue
Source§impl VectorIntoWasmAbi for StyleSheetTransformer
impl VectorIntoWasmAbi for StyleSheetTransformer
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[StyleSheetTransformer]>) -> Self::Abi
Source§impl WasmDescribeVector for StyleSheetTransformer
impl WasmDescribeVector for StyleSheetTransformer
impl SupportsConstructor for StyleSheetTransformer
impl SupportsInstanceProperty for StyleSheetTransformer
impl SupportsStaticProperty for StyleSheetTransformer
Auto Trait Implementations§
impl Freeze for StyleSheetTransformer
impl RefUnwindSafe for StyleSheetTransformer
impl Send for StyleSheetTransformer
impl Sync for StyleSheetTransformer
impl Unpin for StyleSheetTransformer
impl UnwindSafe for StyleSheetTransformer
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
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.