pub struct StrTemplate<'s> {
pub raw: &'s str,
pub escaped: bool,
pub head: bool,
pub tail: bool,
}Fields§
§raw: &'s str§escaped: bool§head: bool§tail: boolTrait Implementations§
Source§impl<'s> Clone for StrTemplate<'s>
impl<'s> Clone for StrTemplate<'s>
Source§fn clone(&self) -> StrTemplate<'s>
fn clone(&self) -> StrTemplate<'s>
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<'s> Debug for StrTemplate<'s>
impl<'s> Debug for StrTemplate<'s>
Source§impl<'s> PartialEq for StrTemplate<'s>
impl<'s> PartialEq for StrTemplate<'s>
impl<'s> StructuralPartialEq for StrTemplate<'s>
Auto Trait Implementations§
impl<'s> Freeze for StrTemplate<'s>
impl<'s> RefUnwindSafe for StrTemplate<'s>
impl<'s> Send for StrTemplate<'s>
impl<'s> Sync for StrTemplate<'s>
impl<'s> Unpin for StrTemplate<'s>
impl<'s> UnwindSafe for StrTemplate<'s>
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