Struct interpreter::object::layout::FieldInfo
source · pub struct FieldInfo {
pub name: String,
pub data: Field,
pub location: FieldLocation,
pub value: Option<RuntimeValue>,
}
Expand description
More expensive to clone, but more comprehensive field information. Used to give out the locations of fields.
Fields§
§name: String
§data: Field
§location: FieldLocation
§value: Option<RuntimeValue>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FieldInfo
impl !Send for FieldInfo
impl !Sync for FieldInfo
impl Unpin for FieldInfo
impl !UnwindSafe for FieldInfo
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