Struct macroquad::models::DrawSphereParams
source · pub struct DrawSphereParams {
pub rings: usize,
pub slices: usize,
pub draw_mode: DrawMode,
}
Fields§
§rings: usize
§slices: usize
§draw_mode: DrawMode
Trait Implementations§
source§impl Clone for DrawSphereParams
impl Clone for DrawSphereParams
source§fn clone(&self) -> DrawSphereParams
fn clone(&self) -> DrawSphereParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DrawSphereParams
impl Debug for DrawSphereParams
source§impl Default for DrawSphereParams
impl Default for DrawSphereParams
source§fn default() -> DrawSphereParams
fn default() -> DrawSphereParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrawSphereParams
impl RefUnwindSafe for DrawSphereParams
impl Send for DrawSphereParams
impl Sync for DrawSphereParams
impl Unpin for DrawSphereParams
impl UnwindSafe for DrawSphereParams
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