Trait AsId
gluon_base::types
pub trait AsId<Id> where Id: ?Sized, { fn as_id(&self) -> &Id; }
fn as_id(&self) -> &Id
impl<Id> AsId<Id> for Id where Id: ?Sized,
impl<T, Pos> AsId<T> for Spanned<T, Pos>
fn as_id(&self) -> &T