[][src]Trait typed_index_collection::WithId

pub trait WithId {
    pub fn with_id(id: &str) -> Self;
}

An object that can be assigned an identifier.

Required methods

pub fn with_id(id: &str) -> Self[src]

Set an identifier and returns the object.

Loading content...

Implementors

Loading content...