pub enum JSXElementChildren {
Children(Vec<JSXNode>),
SelfClosing,
}
Variants§
Trait Implementations§
Source§impl Clone for JSXElementChildren
impl Clone for JSXElementChildren
Source§fn clone(&self) -> JSXElementChildren
fn clone(&self) -> JSXElementChildren
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 JSXElementChildren
impl Debug for JSXElementChildren
Source§impl PartialEq for JSXElementChildren
impl PartialEq for JSXElementChildren
Source§impl SelfRustTokenize for JSXElementChildren
impl SelfRustTokenize for JSXElementChildren
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
Source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
Source§impl Serialize for JSXElementChildren
impl Serialize for JSXElementChildren
Source§impl Visitable for JSXElementChildren
impl Visitable for JSXElementChildren
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
impl StructuralPartialEq for JSXElementChildren
Auto Trait Implementations§
impl Freeze for JSXElementChildren
impl RefUnwindSafe for JSXElementChildren
impl Send for JSXElementChildren
impl Sync for JSXElementChildren
impl Unpin for JSXElementChildren
impl UnwindSafe for JSXElementChildren
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