pub struct Baker { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Baker for Baker
 
impl Baker for Baker
Source§type Data<'a> = CookedModel<'a>
 
type Data<'a> = CookedModel<'a>
Intermediate data that is cached, which comes out as a result of cooking.
Source§fn cook(
    &self,
    source: &[u8],
    extension: &str,
    meta: Meta,
    cooker: Arc<Cooker<Self>>,
    exe_context: &ExecutionContext<'_>,
)
 
fn cook( &self, source: &[u8], extension: &str, meta: Meta, cooker: Arc<Cooker<Self>>, exe_context: &ExecutionContext<'_>, )
Cook an asset represented by a slice of bytes. Read more
Source§fn serve(
    &self,
    model: CookedModel<'_>,
    exe_context: &ExecutionContext<'_>,
) -> Self::Output
 
fn serve( &self, model: CookedModel<'_>, exe_context: &ExecutionContext<'_>, ) -> Self::Output
Produce the output bsed on a cooked asset. Read more
Auto Trait Implementations§
impl !Freeze for Baker
impl !RefUnwindSafe for Baker
impl Send for Baker
impl Sync for Baker
impl Unpin for Baker
impl !UnwindSafe for Baker
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