pub struct RecordList { /* private fields */ }Implementations§
Source§impl RecordList
impl RecordList
pub fn new(name: impl Into<Rc<str>>, rows: Vec<RecordValue>) -> Self
Sourcepub fn from_model(
name: impl Into<Rc<str>>,
model: VecModel<RecordValue>,
) -> Self
pub fn from_model( name: impl Into<Rc<str>>, model: VecModel<RecordValue>, ) -> Self
Use an existing model, preserving the row identities of the supplied handle.
pub fn name(&self) -> &str
pub fn model(&self) -> &VecModel<RecordValue>
Trait Implementations§
Source§impl Clone for RecordList
impl Clone for RecordList
Source§impl Debug for RecordList
impl Debug for RecordList
Auto Trait Implementations§
impl !RefUnwindSafe for RecordList
impl !Send for RecordList
impl !Sync for RecordList
impl !UnwindSafe for RecordList
impl Forget for RecordList
impl Freeze for RecordList
impl Move for RecordList
impl Unpin for RecordList
impl UnsafeUnpin for RecordList
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