pub struct DjangoRoot {
pub elements: Vec<DjangoElement>,
pub span: Range<usize>,
}Expand description
Django 模板根节点
Fields§
§elements: Vec<DjangoElement>§span: Range<usize>Trait Implementations§
Source§impl Clone for DjangoRoot
impl Clone for DjangoRoot
Source§fn clone(&self) -> DjangoRoot
fn clone(&self) -> DjangoRoot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DjangoRoot
impl RefUnwindSafe for DjangoRoot
impl Send for DjangoRoot
impl Sync for DjangoRoot
impl Unpin for DjangoRoot
impl UnwindSafe for DjangoRoot
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