pub struct CenterOfGravityParameters {
pub entities: Vec<String>,
}Expand description
Parameters for compute center of gravity query
Fields§
§entities: Vec<String>Ids of the faces and edges to combine into a single center of gravity, as
entities returns them. Any other entity type fails the query.
Must not be empty
Trait Implementations§
Source§impl Clone for CenterOfGravityParameters
impl Clone for CenterOfGravityParameters
Source§impl Debug for CenterOfGravityParameters
impl Debug for CenterOfGravityParameters
Source§impl<'de> Deserialize<'de> for CenterOfGravityParameters
impl<'de> Deserialize<'de> for CenterOfGravityParameters
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 CenterOfGravityParameters
impl Freeze for CenterOfGravityParameters
impl RefUnwindSafe for CenterOfGravityParameters
impl Send for CenterOfGravityParameters
impl Sync for CenterOfGravityParameters
impl Unpin for CenterOfGravityParameters
impl UnsafeUnpin for CenterOfGravityParameters
impl UnwindSafe for CenterOfGravityParameters
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