Trait Identify

Source
pub trait Identify {
    type Id: Identifier;

    // Required method
    fn id(&self) -> &Self::Id;
}

Required Associated Types§

Required Methods§

Source

fn id(&self) -> &Self::Id

Implementors§

Source§

impl<S> Identify for S
where S: Identifier,

Source§

type Id = S