pub struct Ssr { /* private fields */ }Expand description
Server-side rendering: the build has a server entry for the framework.
PHP: Utopia\Detector\Detection\Rendering\SSR.
Implementations§
Source§impl Ssr
impl Ssr
Sourcepub const FRAMEWORK_FILES: &'static [(&'static str, &'static [&'static str])]
pub const FRAMEWORK_FILES: &'static [(&'static str, &'static [&'static str])]
The server entry files of each framework’s build.
PHP: SSR::FRAMEWORK_FILES.
Sourcepub fn with_fallback(fallback_file: impl Into<String>) -> Self
pub fn with_fallback(fallback_file: impl Into<String>) -> Self
Server-side rendering that serves fallback_file for paths without
a file.
PHP: new SSR($fallbackFile).
Trait Implementations§
impl Eq for Ssr
impl StructuralPartialEq for Ssr
Auto Trait Implementations§
impl Forget for Ssr
impl Freeze for Ssr
impl Move for Ssr
impl RefUnwindSafe for Ssr
impl Send for Ssr
impl Sync for Ssr
impl Unpin for Ssr
impl UnsafeUnpin for Ssr
impl UnwindSafe for Ssr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.