Struct rcss_core::CssProcessor
source · pub struct CssProcessor { /* private fields */ }
Implementations§
source§impl CssProcessor
impl CssProcessor
pub fn new(preprocessor: CssPreprocessor, embeding: CssEmbeding) -> Self
pub fn process_style(&mut self, style: &str) -> CssOutput
Trait Implementations§
source§impl Clone for CssProcessor
impl Clone for CssProcessor
source§fn clone(&self) -> CssProcessor
fn clone(&self) -> CssProcessor
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 CssProcessor
impl Debug for CssProcessor
source§impl Ord for CssProcessor
impl Ord for CssProcessor
source§fn cmp(&self, other: &CssProcessor) -> Ordering
fn cmp(&self, other: &CssProcessor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CssProcessor
impl PartialEq for CssProcessor
source§fn eq(&self, other: &CssProcessor) -> bool
fn eq(&self, other: &CssProcessor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CssProcessor
impl PartialOrd for CssProcessor
source§fn partial_cmp(&self, other: &CssProcessor) -> Option<Ordering>
fn partial_cmp(&self, other: &CssProcessor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CssProcessor
impl Eq for CssProcessor
impl StructuralEq for CssProcessor
impl StructuralPartialEq for CssProcessor
Auto Trait Implementations§
impl RefUnwindSafe for CssProcessor
impl Send for CssProcessor
impl Sync for CssProcessor
impl Unpin for CssProcessor
impl UnwindSafe for CssProcessor
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