Enum yarte_dom::dom::ExprOrText
source · [−]pub enum ExprOrText {
Text(String),
Expr(Expression),
}
Variants
Text(String)
Expr(Expression)
Trait Implementations
sourceimpl Debug for ExprOrText
impl Debug for ExprOrText
sourceimpl PartialEq<ExprOrText> for ExprOrText
impl PartialEq<ExprOrText> for ExprOrText
sourcefn eq(&self, other: &ExprOrText) -> bool
fn eq(&self, other: &ExprOrText) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ExprOrText
Auto Trait Implementations
impl RefUnwindSafe for ExprOrText
impl !Send for ExprOrText
impl !Sync for ExprOrText
impl Unpin for ExprOrText
impl UnwindSafe for ExprOrText
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more