pub struct JsxOpeningElement {
pub name: JsxTagName,
pub attributes: Vec<JsxAttributeOrSpread>,
pub span: Range<usize>,
}Expand description
Represents a JSX opening element tag.
Fields§
§name: JsxTagNameName of the tag.
attributes: Vec<JsxAttributeOrSpread>Attributes of the element.
span: Range<usize>Source span of the opening element.
Trait Implementations§
Source§impl Clone for JsxOpeningElement
impl Clone for JsxOpeningElement
Source§fn clone(&self) -> JsxOpeningElement
fn clone(&self) -> JsxOpeningElement
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 JsxOpeningElement
impl Debug for JsxOpeningElement
Source§impl<'de> Deserialize<'de> for JsxOpeningElement
impl<'de> Deserialize<'de> for JsxOpeningElement
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 JsxOpeningElement
impl RefUnwindSafe for JsxOpeningElement
impl Send for JsxOpeningElement
impl Sync for JsxOpeningElement
impl Unpin for JsxOpeningElement
impl UnsafeUnpin for JsxOpeningElement
impl UnwindSafe for JsxOpeningElement
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