Struct syn_rsx::NodeAttribute
source · pub struct NodeAttribute {
pub key: NodeName,
pub value: Option<NodeValueExpr>,
}
Expand description
Attribute node.
Attributes of opening tags. Every attribute is itself a node.
Fields§
§key: NodeName
Key of the element attribute.
value: Option<NodeValueExpr>
Value of the element attribute.
Trait Implementations§
source§impl Debug for NodeAttribute
impl Debug for NodeAttribute
Auto Trait Implementations§
impl RefUnwindSafe for NodeAttribute
impl !Send for NodeAttribute
impl !Sync for NodeAttribute
impl Unpin for NodeAttribute
impl UnwindSafe for NodeAttribute
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