Trait HasViewId
Source pub trait HasViewId {
// Required method
fn view_id(&self) -> ViewId;
}
Expand description
A trait for types that have an associated ViewId.
This is automatically implemented for all types that implement View,
and can be manually implemented for intermediate types like [Pending].
Returns the ViewId associated with this value.