Enum rubble_templates_core::template::TemplateSlice [−][src]
A slice of template that can be returned by an iterator.
Usually used to represent a fragment of template that needs to be evaluated. Can be used for finding template parts depending on what rules are used to detect text and code or other patterns in the source file.
Variants
Trait Implementations
impl<'a> Debug for TemplateSlice<'a>
[src]
impl<'a> Eq for TemplateSlice<'a>
[src]
impl<'a> PartialEq<TemplateSlice<'a>> for TemplateSlice<'a>
[src]
fn eq(&self, other: &TemplateSlice<'a>) -> bool
[src]
fn ne(&self, other: &TemplateSlice<'a>) -> bool
[src]
impl<'a> StructuralEq for TemplateSlice<'a>
[src]
impl<'a> StructuralPartialEq for TemplateSlice<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TemplateSlice<'a>
impl<'a> Send for TemplateSlice<'a>
impl<'a> Sync for TemplateSlice<'a>
impl<'a> Unpin for TemplateSlice<'a>
impl<'a> UnwindSafe for TemplateSlice<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,