pub struct CylinderSurface {
pub axis_origin: Vec3,
pub axis: Vec3,
pub radius: f64,
}Expand description
An infinite circular cylinder.
Fields§
§axis_origin: Vec3A point on the cylinder axis.
axis: Vec3The unit direction of the cylinder axis.
radius: f64The positive cylinder radius.
Trait Implementations§
Source§impl Clone for CylinderSurface
impl Clone for CylinderSurface
Source§fn clone(&self) -> CylinderSurface
fn clone(&self) -> CylinderSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CylinderSurface
Source§impl Debug for CylinderSurface
impl Debug for CylinderSurface
Source§impl<'de> Deserialize<'de> for CylinderSurface
impl<'de> Deserialize<'de> for CylinderSurface
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 PartialEq for CylinderSurface
impl PartialEq for CylinderSurface
Source§impl Serialize for CylinderSurface
impl Serialize for CylinderSurface
impl StructuralPartialEq for CylinderSurface
Auto Trait Implementations§
impl Freeze for CylinderSurface
impl RefUnwindSafe for CylinderSurface
impl Send for CylinderSurface
impl Sync for CylinderSurface
impl Unpin for CylinderSurface
impl UnsafeUnpin for CylinderSurface
impl UnwindSafe for CylinderSurface
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