Enum ftml::tree::ListItem [−][src]
pub enum ListItem<'t> {
Elements {
attributes: AttributeMap<'t>,
elements: Vec<Element<'t>>,
},
SubList {
element: Box<Element<'t>>,
},
}
Variants
This item is a series of elements.
It’s just an item in the list, which may have multiple elements similar to any other container.
Fields of Elements
attributes: AttributeMap<'t>
elements: Vec<Element<'t>>
This item in the list is a sub-list.
That is, it’s another, deeper list within the list.
Implementations
Trait Implementations
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<'t> RefUnwindSafe for ListItem<'t>
impl<'t> UnwindSafe for ListItem<'t>
Blanket Implementations
Mutably borrows from an owned value. Read more