Enum dioxus_rsx::ContentField
source · pub enum ContentField {
ManExpr(Expr),
Formatted(IfmtInput),
OnHandlerRaw(Expr),
}
Variants§
Trait Implementations§
source§impl Clone for ContentField
impl Clone for ContentField
source§fn clone(&self) -> ContentField
fn clone(&self) -> ContentField
Returns a copy 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 ContentField
impl Debug for ContentField
source§impl Hash for ContentField
impl Hash for ContentField
source§impl PartialEq<ContentField> for ContentField
impl PartialEq<ContentField> for ContentField
source§fn eq(&self, other: &ContentField) -> bool
fn eq(&self, other: &ContentField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToTokens for ContentField
impl ToTokens for ContentField
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere Self: Sized,
impl Eq for ContentField
impl StructuralEq for ContentField
impl StructuralPartialEq for ContentField
Auto Trait Implementations§
impl RefUnwindSafe for ContentField
impl !Send for ContentField
impl !Sync for ContentField
impl Unpin for ContentField
impl UnwindSafe for ContentField
Blanket Implementations§
source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.