#[repr(u32)]pub enum YAxisChoice {
First = 0,
Second = 1,
Third = 2,
}
Expand description
Choice of Y axis. This an enum instead of just an integer so as to make it impossible
to select a Y axis that is not present - this makes it easier to avoid Result
-type
return values on functions that could otherwise not really fail.
Variants§
Trait Implementations§
Source§impl Clone for YAxisChoice
impl Clone for YAxisChoice
Source§fn clone(&self) -> YAxisChoice
fn clone(&self) -> YAxisChoice
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for YAxisChoice
impl RefUnwindSafe for YAxisChoice
impl Send for YAxisChoice
impl Sync for YAxisChoice
impl Unpin for YAxisChoice
impl UnwindSafe for YAxisChoice
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