pub enum RadialGeometry {
Slab {
area: Area,
},
Cylinder {
height: Length,
},
Sphere,
}Expand description
The shape of a one-dimensional radial body.
Variants§
Slab
A plate, symmetric about its mid-plane; the radius is the distance from
the mid-plane, and area is the plate’s face area.
Cylinder
A cylinder of the given height, insulated at its ends.
Sphere
A sphere.
Implementations§
Trait Implementations§
Source§impl Clone for RadialGeometry
impl Clone for RadialGeometry
impl Copy for RadialGeometry
Source§impl Debug for RadialGeometry
impl Debug for RadialGeometry
Source§impl PartialEq for RadialGeometry
impl PartialEq for RadialGeometry
impl StructuralPartialEq for RadialGeometry
Auto Trait Implementations§
impl !RefUnwindSafe for RadialGeometry
impl !UnwindSafe for RadialGeometry
impl Freeze for RadialGeometry
impl Send for RadialGeometry
impl Sync for RadialGeometry
impl Unpin for RadialGeometry
impl UnsafeUnpin for RadialGeometry
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