pub struct ScaffoldEngine;Implementations§
Source§impl ScaffoldEngine
impl ScaffoldEngine
pub fn new() -> Self
pub fn templates(&self) -> Result<Vec<TemplateDescriptor>, ScaffoldError>
pub fn resolve_template( &self, id: &str, ) -> Result<TemplateDescriptor, ScaffoldError>
pub fn scaffold( &self, request: ScaffoldRequest, ) -> Result<ScaffoldOutcome, ScaffoldError>
Trait Implementations§
Source§impl Clone for ScaffoldEngine
impl Clone for ScaffoldEngine
Source§fn clone(&self) -> ScaffoldEngine
fn clone(&self) -> ScaffoldEngine
Returns a duplicate 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 ScaffoldEngine
impl Debug for ScaffoldEngine
Source§impl Default for ScaffoldEngine
impl Default for ScaffoldEngine
Source§fn default() -> ScaffoldEngine
fn default() -> ScaffoldEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScaffoldEngine
impl RefUnwindSafe for ScaffoldEngine
impl Send for ScaffoldEngine
impl Sync for ScaffoldEngine
impl Unpin for ScaffoldEngine
impl UnwindSafe for ScaffoldEngine
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