Trait cursive::view::Identifiable
[−]
[src]
pub trait Identifiable: View + Sized { fn with_id<S: Into<String>>(self, id: S) -> IdView<Self> { ... } }
Makes a view wrappable in an IdView
.
Provided Methods
fn with_id<S: Into<String>>(self, id: S) -> IdView<Self>
Wraps this view into an IdView
with the given id.
This is just a shortcut for IdView::new(id, self)
Implementors
impl<T: View> Identifiable for T