Lines Matching refs:content
16 content: RefCell<Content<'a>>,
42 content: RefCell::new(Content::new()),
48 self.content.get_mut().next_section();
52 self.content.get_mut().begin_block(block);
56 self.content.get_mut().end_block(block);
60 self.content.get_mut().set_namespace(namespace);
64 let content = &mut *self.content.borrow_mut();
65 Write::write_fmt(content, args).unwrap();
68 pub fn content(&mut self) -> Vec<u8> {
70 let include = &self.include.content.bytes;
71 let builtin = &self.builtin.content.bytes;
72 let content = &self.content.get_mut().bytes;
73 let len = include.len() + builtin.len() + content.len() + 2;
80 if !out.is_empty() && !content.is_empty() {
83 out.push_str(content);
91 self.include.content.flush();
92 self.builtin.content.flush();
93 self.content.get_mut().flush();