Trait xylem::id::Identifiable[][src]

pub trait Identifiable<S: Schema>: Xylem<S> {
    type Scope: Xylem<S>;
    fn id(&self) -> Id<S, Self>;
}
Expand description

A trait for types that can be identified.

Associated Types

The scope of the identifier namespace.

Use () for global identifiers.

Required methods

Returns the identifier for this instance.

Implementors