Struct octoon::geometries::fan::FanGeometry
source · pub struct FanGeometry { /* private fields */ }
Implementations
sourceimpl FanGeometry
impl FanGeometry
pub fn new(
top_radius: f32,
bottom_radius: f32,
segments: u32,
top_length: f32,
bottom_length: f32
) -> Self
pub fn new_1(radius_top: f32, radius_bottom: f32, segments: u32) -> Self
pub fn top_radius(&self) -> f32
pub fn top_length(&self) -> f32
pub fn bottom_radius(&self) -> f32
pub fn bottom_length(&self) -> f32
pub fn segments(&self) -> u32
Trait Implementations
sourceimpl Debug for FanGeometry
impl Debug for FanGeometry
sourceimpl From<FanGeometry> for Arc<RefCell<dyn Geometry + 'static>>
impl From<FanGeometry> for Arc<RefCell<dyn Geometry + 'static>>
sourcefn from(shape: FanGeometry) -> Self
fn from(shape: FanGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<FanGeometry> for Arc<dyn Geometry + 'static>
impl From<FanGeometry> for Arc<dyn Geometry + 'static>
sourcefn from(shape: FanGeometry) -> Self
fn from(shape: FanGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<FanGeometry> for Rc<RefCell<dyn Geometry + 'static>>
impl From<FanGeometry> for Rc<RefCell<dyn Geometry + 'static>>
sourcefn from(shape: FanGeometry) -> Self
fn from(shape: FanGeometry) -> Self
Converts to this type from the input type.
sourceimpl From<FanGeometry> for Rc<dyn Geometry + 'static>
impl From<FanGeometry> for Rc<dyn Geometry + 'static>
sourcefn from(shape: FanGeometry) -> Self
fn from(shape: FanGeometry) -> Self
Converts to this type from the input type.
sourceimpl Geometry for FanGeometry
impl Geometry for FanGeometry
Auto Trait Implementations
impl RefUnwindSafe for FanGeometry
impl Send for FanGeometry
impl Sync for FanGeometry
impl Unpin for FanGeometry
impl UnwindSafe for FanGeometry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.