pub struct ComponentNode {
pub name: String,
pub is_inline: bool,
pub attributes: Vec<AttributeNode>,
pub children: Vec<Node>,
pub position: Position,
}Expand description
An RDX component node.
Fields§
§name: String§is_inline: bool§attributes: Vec<AttributeNode>§children: Vec<Node>§position: PositionTrait Implementations§
Source§impl Clone for ComponentNode
impl Clone for ComponentNode
Source§fn clone(&self) -> ComponentNode
fn clone(&self) -> ComponentNode
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 ComponentNode
impl Debug for ComponentNode
Source§impl<'de> Deserialize<'de> for ComponentNode
impl<'de> Deserialize<'de> for ComponentNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComponentNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComponentNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ComponentNode
impl PartialEq for ComponentNode
Source§impl Serialize for ComponentNode
impl Serialize for ComponentNode
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 ComponentNode
Auto Trait Implementations§
impl Freeze for ComponentNode
impl RefUnwindSafe for ComponentNode
impl Send for ComponentNode
impl Sync for ComponentNode
impl Unpin for ComponentNode
impl UnsafeUnpin for ComponentNode
impl UnwindSafe for ComponentNode
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