pub struct MirRecordField {
pub name: String,
pub value: Spanned<MirExpr>,
}Expand description
One field = value pair inside a record create or update.
Fields§
§name: String§value: Spanned<MirExpr>Trait Implementations§
Source§impl Clone for MirRecordField
impl Clone for MirRecordField
Source§fn clone(&self) -> MirRecordField
fn clone(&self) -> MirRecordField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for MirRecordField
impl RefUnwindSafe for MirRecordField
impl Send for MirRecordField
impl Sync for MirRecordField
impl Unpin for MirRecordField
impl UnsafeUnpin for MirRecordField
impl UnwindSafe for MirRecordField
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