pub struct Cylinder {
pub height: f32,
pub radius: [f32; 2],
pub extra: Vec<Extra>,
}
Expand description
Declares a cylinder primitive that is centered on, and aligned with, the local y axis.
Fields§
§height: f32
The length of the cylinder along the y axis.
radius: [f32; 2]
The radii of the cylinder (it may be elliptical).
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cylinder
impl RefUnwindSafe for Cylinder
impl Send for Cylinder
impl Sync for Cylinder
impl Unpin for Cylinder
impl UnwindSafe for Cylinder
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