pub struct LineTemplate {
pub source: String,
pub segments: Vec<Segment>,
/* private fields */
}Expand description
A compiled template.
Fields§
§source: StringThe template as written.
segments: Vec<Segment>Its pieces, in order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnsafeUnpin for Template
impl UnwindSafe for Template
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