pub struct Record<'a> { /* private fields */ }Implementations§
Source§impl<'a> Record<'a>
impl<'a> Record<'a>
pub fn new( desc: &'a RecordDesc<'a>, allocator: AllocatorRef<'a>, ) -> Result<Self, AllocError>
pub fn get_fields_mut<'b>(&'b mut self) -> &'b mut [DataCell<'a>]
pub fn set_field(&mut self, name: &str, value: DataCell<'a>)
Trait Implementations§
Source§impl<'a> DataCellOpsMut for Record<'a>
impl<'a> DataCellOpsMut for Record<'a>
fn get_property_mut<'x>( &mut self, _property_name: &str, _xc: &mut ExecutionContext<'x>, ) -> Result<DataCell<'x>, Error<'x>>
fn output_as_human_readable_mut<'w, 'x>( &mut self, out: &mut (dyn Write + 'w), xc: &mut ExecutionContext<'x>, ) -> Result<(), Error<'x>>
Auto Trait Implementations§
impl<'a> Freeze for Record<'a>
impl<'a> !RefUnwindSafe for Record<'a>
impl<'a> !Send for Record<'a>
impl<'a> !Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> !UnwindSafe for Record<'a>
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