pub struct HeadPush {
pub text: Option<String>,
}Expand description
One @push('head') occurrence found while walking view_name’s own
tree - see head_pushes for why this exists and what it’s used for.
Fields§
§text: Option<String>The block’s literal source text, present only when its entire body
is static (plain Node::Text, no interpolation/directive/prop
reference) - always safe to re-embed verbatim elsewhere, since
nothing in it depends on any particular scope. None means the
block contains something dynamic a plain text re-embed can’t
reproduce faithfully; the caller should leave it for manual
porting rather than silently drop or mis-render it.
Auto Trait Implementations§
impl Forget for HeadPush
impl Freeze for HeadPush
impl Move for HeadPush
impl RefUnwindSafe for HeadPush
impl Send for HeadPush
impl Sync for HeadPush
impl Unpin for HeadPush
impl UnsafeUnpin for HeadPush
impl UnwindSafe for HeadPush
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