pub struct TemplateInterpolation {
pub expression: String,
pub conversion: Option<String>,
pub format_spec: String,
pub interpolation_index: usize,
pub raw_source: Option<String>,
}Fields§
§expression: String§conversion: Option<String>§format_spec: String§interpolation_index: usize§raw_source: Option<String>Implementations§
Source§impl TemplateInterpolation
impl TemplateInterpolation
pub fn expression_label(&self) -> &str
Trait Implementations§
Source§impl Clone for TemplateInterpolation
impl Clone for TemplateInterpolation
Source§fn clone(&self) -> TemplateInterpolation
fn clone(&self) -> TemplateInterpolation
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 moreSource§impl Debug for TemplateInterpolation
impl Debug for TemplateInterpolation
Source§impl PartialEq for TemplateInterpolation
impl PartialEq for TemplateInterpolation
impl Eq for TemplateInterpolation
impl StructuralPartialEq for TemplateInterpolation
Auto Trait Implementations§
impl Freeze for TemplateInterpolation
impl RefUnwindSafe for TemplateInterpolation
impl Send for TemplateInterpolation
impl Sync for TemplateInterpolation
impl Unpin for TemplateInterpolation
impl UnsafeUnpin for TemplateInterpolation
impl UnwindSafe for TemplateInterpolation
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