pub struct Hshell { /* private fields */ }Expand description
获取html文件并输入数组
第一个参数中 name是页面变量名字 val是页面的值
页面中的变量书写方为 “{$???}” <- ???问号为变量名称
§Examples
后端开发页面代码
let har = Html {
name:"pname".clone(),
val:"sss".clone(),
};
let harray = vec![har];
template (harray,"h/yyxzz.html");html模板页面代码
{$pname}Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hshell
impl RefUnwindSafe for Hshell
impl Send for Hshell
impl Sync for Hshell
impl Unpin for Hshell
impl UnwindSafe for Hshell
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