pub struct RenderFlags {
pub links: bool,
pub islands: bool,
pub streamed: bool,
pub ui: bool,
}Expand description
Features used by a rendered document; the server uses these to decide which (if any) client scripts to include.
Fields§
§links: boolSomething needing the navigation runtime was rendered: a Link!, a
same-origin anchor, or a form posting to a server action.
islands: boolAn interactive island was rendered.
streamed: boolAt least one suspense boundary was streamed.
ui: boolAn interactive UI component was rendered (data-nr-ui): the page
needs the component script.
Trait Implementations§
Source§impl Clone for RenderFlags
impl Clone for RenderFlags
Source§fn clone(&self) -> RenderFlags
fn clone(&self) -> RenderFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderFlags
Source§impl Debug for RenderFlags
impl Debug for RenderFlags
Source§impl Default for RenderFlags
impl Default for RenderFlags
Source§fn default() -> RenderFlags
fn default() -> RenderFlags
Returns the “default value” for a type. Read more
impl Eq for RenderFlags
Source§impl PartialEq for RenderFlags
impl PartialEq for RenderFlags
impl StructuralPartialEq for RenderFlags
Auto Trait Implementations§
impl Forget for RenderFlags
impl Freeze for RenderFlags
impl Move for RenderFlags
impl RefUnwindSafe for RenderFlags
impl Send for RenderFlags
impl Sync for RenderFlags
impl Unpin for RenderFlags
impl UnsafeUnpin for RenderFlags
impl UnwindSafe for RenderFlags
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.