pub enum AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom {
FromFile(AgsiGeometryFromFile),
Plane(AgsiGeometryPlane),
}Expand description
Geometry for bottom 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 bottom 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 AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl Clone for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
Source§fn clone(&self) -> AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
fn clone(&self) -> AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
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 AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl<'de> Deserialize<'de> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
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<&AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl From<&AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
Source§fn from(value: &AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom) -> Self
fn from(value: &AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom) -> Self
Converts to this type from the input type.
Source§impl From<AgsiGeometryFromFile> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl From<AgsiGeometryFromFile> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
Source§fn from(value: AgsiGeometryFromFile) -> Self
fn from(value: AgsiGeometryFromFile) -> Self
Converts to this type from the input type.
Source§impl From<AgsiGeometryPlane> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl From<AgsiGeometryPlane> for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
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 AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl RefUnwindSafe for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl Send for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl Sync for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl Unpin for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl UnsafeUnpin for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
impl UnwindSafe for AgsiGeometryVolFromSurfacesVariant1AgsiGeometryBottom
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