Skip to main content

Element

Trait Element 

Source
pub trait Element<'a>:
    Sized
    + Copy
    + PartialEq
    + Sealed { }
Expand description

An element of a Seq: ListEntry, PeriodEntry, Tree or a name (&[u8]). Sealed: the encoding of each is fixed by the specification.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a> Element<'a> for &'a [u8]

A name: an octet string, as in a tree path or a profile’s object list.

Implementors§

Source§

impl<'a> Element<'a> for ListEntry<'a>

Source§

impl<'a> Element<'a> for PeriodEntry<'a>

Source§

impl<'a> Element<'a> for ProfileColumn

Source§

impl<'a> Element<'a> for ProfilePeriod<'a>

Source§

impl<'a> Element<'a> for ProfileValue<'a>

Source§

impl<'a> Element<'a> for Tree<'a>