pub enum JsxAttributeOrSpread {
Attribute(JsxAttribute),
Spread(Expression),
}Expand description
Represents either a JSX attribute or a spread attribute.
Variants§
Trait Implementations§
Source§impl Clone for JsxAttributeOrSpread
impl Clone for JsxAttributeOrSpread
Source§fn clone(&self) -> JsxAttributeOrSpread
fn clone(&self) -> JsxAttributeOrSpread
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 Debug for JsxAttributeOrSpread
impl Debug for JsxAttributeOrSpread
Source§impl<'de> Deserialize<'de> for JsxAttributeOrSpread
impl<'de> Deserialize<'de> for JsxAttributeOrSpread
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JsxAttributeOrSpread
impl RefUnwindSafe for JsxAttributeOrSpread
impl Send for JsxAttributeOrSpread
impl Sync for JsxAttributeOrSpread
impl Unpin for JsxAttributeOrSpread
impl UnsafeUnpin for JsxAttributeOrSpread
impl UnwindSafe for JsxAttributeOrSpread
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