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
impl Copy for RenderFlags
Source§impl Debug for RenderFlags
impl Debug for RenderFlags
Source§impl Default for RenderFlags
impl Default for RenderFlags
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