pub struct PythonBackend;Trait Implementations§
Source§impl CodegenBackend for PythonBackend
impl CodegenBackend for PythonBackend
Source§fn lang(&self) -> &'static str
fn lang(&self) -> &'static str
Stable identifier (e.g.
"rust") used by the HTTP layer to pick a backend.Source§fn emit_css(&self, _css: &Css) -> String
fn emit_css(&self, _css: &Css) -> String
Render a single CSS expression. Useful for tests / quick previews where
the caller doesn’t want a full project layout.
Source§fn emit_project(&self, css: &Css) -> Vec<GeneratedFile>
fn emit_project(&self, css: &Css) -> Vec<GeneratedFile>
Emit a complete standalone project. The returned files are root-relative.
Auto Trait Implementations§
impl Freeze for PythonBackend
impl RefUnwindSafe for PythonBackend
impl Send for PythonBackend
impl Sync for PythonBackend
impl Unpin for PythonBackend
impl UnsafeUnpin for PythonBackend
impl UnwindSafe for PythonBackend
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