pub struct StaticHtmlTransform<R, S>{
pub resolver: StaticHtmlResolver,
pub transcluder: SphereContentTranscluder<R, S>,
}Expand description
A Transform that is suitable for converting Noosphere content to HTML for a basic state website generator.
Fields§
§resolver: StaticHtmlResolver§transcluder: SphereContentTranscluder<R, S>Implementations§
Source§impl<R, S> StaticHtmlTransform<R, S>
impl<R, S> StaticHtmlTransform<R, S>
Trait Implementations§
Source§impl<R, S> Clone for StaticHtmlTransform<R, S>
impl<R, S> Clone for StaticHtmlTransform<R, S>
Source§fn clone(&self) -> StaticHtmlTransform<R, S>
fn clone(&self) -> StaticHtmlTransform<R, S>
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<R, S> Transform for StaticHtmlTransform<R, S>
impl<R, S> Transform for StaticHtmlTransform<R, S>
type Resolver = StaticHtmlResolver
type Transcluder = SphereContentTranscluder<R, S>
fn resolver(&self) -> &Self::Resolver
fn transcluder(&self) -> &Self::Transcluder
Auto Trait Implementations§
impl<R, S> Freeze for StaticHtmlTransform<R, S>where
R: Freeze,
impl<R, S> RefUnwindSafe for StaticHtmlTransform<R, S>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S> Send for StaticHtmlTransform<R, S>
impl<R, S> Sync for StaticHtmlTransform<R, S>
impl<R, S> Unpin for StaticHtmlTransform<R, S>
impl<R, S> UnwindSafe for StaticHtmlTransform<R, S>where
R: UnwindSafe,
S: UnwindSafe,
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