Struct style_traits::values::CssWriter
source · pub struct CssWriter<'w, W: 'w> {
inner: &'w mut W,
prefix: Option<&'static str>,
}
Expand description
A writer tailored for serialising CSS.
Coupled with SequenceWriter, this allows callers to transparently handle things like comma-separated values etc.
Fields§
§inner: &'w mut W
§prefix: Option<&'static str>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'w, W> Freeze for CssWriter<'w, W>
impl<'w, W> RefUnwindSafe for CssWriter<'w, W>where
W: RefUnwindSafe,
impl<'w, W> Send for CssWriter<'w, W>where
W: Send,
impl<'w, W> Sync for CssWriter<'w, W>where
W: Sync,
impl<'w, W> Unpin for CssWriter<'w, W>
impl<'w, W> !UnwindSafe for CssWriter<'w, W>
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