pub enum AspectMode {
Auto,
Cube,
Data,
Manual,
}
Expand description
If “cube”, this scene’s axes are drawn as a cube, regardless of the axes’ ranges. If “data”, this scene’s axes are drawn in proportion with the axes’ ranges. If “manual”, this scene’s axes are drawn in proportion with the input of “aspectratio” (the default behavior if “aspectratio” is provided). If “auto”, this scene’s axes are drawn using the results of “data” except when one axis is more than four times the size of the two others, where in that case the results of “cube” are used. Default: “auto”
Variants§
Trait Implementations§
Source§impl Clone for AspectMode
impl Clone for AspectMode
Source§fn clone(&self) -> AspectMode
fn clone(&self) -> AspectMode
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 AspectMode
impl Debug for AspectMode
Source§impl Default for AspectMode
impl Default for AspectMode
Source§fn default() -> AspectMode
fn default() -> AspectMode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AspectMode
impl RefUnwindSafe for AspectMode
impl Send for AspectMode
impl Sync for AspectMode
impl Unpin for AspectMode
impl UnwindSafe for AspectMode
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