Type Definition svgbob::Node

pub type Node<MSG> = Node<&'static str, &'static str, Leaf, &'static str, AttributeValue<MSG>>;
Expand description

A simplified version of saurdon_vdom node, where we supplied the type for the tag which is a &’static str. The missing type is now only MSG which will be supplied by the users App code.

Trait Implementations§

source§

impl<MSG> From<Arc> for Node<MSG>

source§

fn from(arc: Arc) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<CellText> for Node<MSG>

source§

fn from(ct: CellText) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Circle> for Node<MSG>

source§

fn from(c: Circle) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Fragment> for Node<MSG>

source§

fn from(fragment: Fragment) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Line> for Node<MSG>

source§

fn from(line: Line) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<MarkerLine> for Node<MSG>

source§

fn from(ml: MarkerLine) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Polygon> for Node<MSG>

source§

fn from(pl: Polygon) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Rect> for Node<MSG>

source§

fn from(r: Rect) -> Node<MSG>

Converts to this type from the input type.
source§

impl<MSG> From<Text> for Node<MSG>

source§

fn from(t: Text) -> Node<MSG>

Converts to this type from the input type.