pub struct StructInstance {
pub struct_type: Arc<StructType>,
pub fields: IndexMap<String, Value>,
}Fields§
§struct_type: Arc<StructType>§fields: IndexMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for StructInstance
impl Clone for StructInstance
Source§fn clone(&self) -> StructInstance
fn clone(&self) -> StructInstance
Returns a duplicate of the value. Read more
1.0.0 · 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 StructInstance
impl !RefUnwindSafe for StructInstance
impl Send for StructInstance
impl Sync for StructInstance
impl Unpin for StructInstance
impl !UnwindSafe for StructInstance
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