pub struct ProtoListView<T: ?Sized>(/* private fields */);Implementations§
Source§impl<T: ?Sized> ProtoListView<T>
impl<T: ?Sized> ProtoListView<T>
pub fn new(defining_method: Option<DefiningMethod>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn priority(self, priority: usize) -> Self
pub fn items<Item: Send>( self, items_block: impl Fn(&T) -> Vec<Item> + Send + Sync + 'static, ) -> ListViewWithoutSend<T, Item>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ProtoListView<T>where
T: ?Sized,
impl<T> RefUnwindSafe for ProtoListView<T>where
T: ?Sized,
impl<T> Send for ProtoListView<T>where
T: ?Sized,
impl<T> Sync for ProtoListView<T>where
T: ?Sized,
impl<T> Unpin for ProtoListView<T>where
T: ?Sized,
impl<T> UnsafeUnpin for ProtoListView<T>where
T: ?Sized,
impl<T> UnwindSafe for ProtoListView<T>where
T: ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more