pub enum AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop {
FromFile(AgsiGeometryFromFile),
Plane(AgsiGeometryPlane),
}Expand description
Geometry for top surface, as embedded agsiGeometryFromFile or agsiGeometryPlane object. Definition of both top and bottom surfaces is recommended to minimise the risk of error. Refer to 6.2.3. Volumes from surfaces for further details.
JSON schema
{
"description": "Geometry for top surface, as embedded agsiGeometryFromFile or agsiGeometryPlane object. Definition of both top and bottom surfaces is recommended to minimise the risk of error. Refer to 6.2.3. Volumes from surfaces for further details.",
"type": "object",
"anyOf": [
{
"$ref": "#/$defs/agsiGeometryFromFile"
},
{
"$ref": "#/$defs/agsiGeometryPlane"
}
]
}Variants§
FromFile(AgsiGeometryFromFile)
Plane(AgsiGeometryPlane)
Trait Implementations§
Source§impl Clone for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl Clone for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
Source§fn clone(&self) -> AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
fn clone(&self) -> AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
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 moreSource§impl<'de> Deserialize<'de> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl<'de> Deserialize<'de> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
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
Source§impl From<&AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl From<&AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
Source§fn from(value: &AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop) -> Self
fn from(value: &AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop) -> Self
Converts to this type from the input type.
Source§impl From<AgsiGeometryFromFile> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl From<AgsiGeometryFromFile> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
Source§fn from(value: AgsiGeometryFromFile) -> Self
fn from(value: AgsiGeometryFromFile) -> Self
Converts to this type from the input type.
Source§impl From<AgsiGeometryPlane> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl From<AgsiGeometryPlane> for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
Source§fn from(value: AgsiGeometryPlane) -> Self
fn from(value: AgsiGeometryPlane) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl RefUnwindSafe for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl Send for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl Sync for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl Unpin for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl UnsafeUnpin for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
impl UnwindSafe for AgsiGeometryVolFromSurfacesVariant0AgsiGeometryTop
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