useview::View;useviews::IdView;/// Makes a view wrappable in an [`IdView`].
////// [`IdView`]: ../views/struct.IdView.html
pubtraitIdentifiable: View + Sized {/// Wraps this view into an IdView with the given id.
////// This is just a shortcut for `IdView::new(id, self)`
fnwith_id(self, id:&str)->IdView<Self>{IdView::new(id,self)}}/// Any `View` implements this trait.
impl<T: View> Identifiable forT{}