pub struct AttributeNode {
pub name: String,
pub value: AttributeValue,
pub position: Position,
}Expand description
A single attribute with its own positional data.
Fields§
§name: String§value: AttributeValue§position: PositionTrait Implementations§
Source§impl Clone for AttributeNode
impl Clone for AttributeNode
Source§fn clone(&self) -> AttributeNode
fn clone(&self) -> AttributeNode
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 AttributeNode
impl Debug for AttributeNode
Source§impl<'de> Deserialize<'de> for AttributeNode
impl<'de> Deserialize<'de> for AttributeNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttributeNode
impl PartialEq for AttributeNode
Source§impl Serialize for AttributeNode
impl Serialize for AttributeNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AttributeNode
Auto Trait Implementations§
impl Freeze for AttributeNode
impl RefUnwindSafe for AttributeNode
impl Send for AttributeNode
impl Sync for AttributeNode
impl Unpin for AttributeNode
impl UnsafeUnpin for AttributeNode
impl UnwindSafe for AttributeNode
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