pub struct Cone {
pub frame: Frame3,
pub radius: Scalar,
pub semi_angle: Scalar,
}Expand description
Infinite right circular cone.
Fields§
§frame: Frame3Local frame; z is the axis.
radius: ScalarRadius at the local origin plane.
semi_angle: ScalarSemi-angle in radians.
Trait Implementations§
impl Copy for Cone
Source§impl<'de> Deserialize<'de> for Cone
impl<'de> Deserialize<'de> for Cone
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
impl StructuralPartialEq for Cone
Auto Trait Implementations§
impl Freeze for Cone
impl RefUnwindSafe for Cone
impl Send for Cone
impl Sync for Cone
impl Unpin for Cone
impl UnsafeUnpin for Cone
impl UnwindSafe for Cone
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