pub struct MaterialPointsResponse {
pub model_material_point: Option<Vector3>,
pub material_point_per_body: Option<HashMap<String, Vector3>>,
}Expand description
Response for material points query
Fields§
§model_material_point: Option<Vector3>A point inside the model’s material. Set when queryType is entireModel
material_point_per_body: Option<HashMap<String, Vector3>>A point inside each solid and sheet, keyed by its entity id. Set when
queryType is perBody
Trait Implementations§
Source§impl Clone for MaterialPointsResponse
impl Clone for MaterialPointsResponse
Source§impl Debug for MaterialPointsResponse
impl Debug for MaterialPointsResponse
Source§impl<'de> Deserialize<'de> for MaterialPointsResponse
impl<'de> Deserialize<'de> for MaterialPointsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for MaterialPointsResponse
impl Freeze for MaterialPointsResponse
impl RefUnwindSafe for MaterialPointsResponse
impl Send for MaterialPointsResponse
impl Sync for MaterialPointsResponse
impl Unpin for MaterialPointsResponse
impl UnsafeUnpin for MaterialPointsResponse
impl UnwindSafe for MaterialPointsResponse
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