#[non_exhaustive]#[repr(u8)]pub enum PowerPhaseType {
PowerPhaseStartAngle = 0,
PowerPhaseEndAngle = 1,
PowerPhaseArcLength = 2,
PowerPhaseCenter = 3,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PowerPhaseType
impl Clone for PowerPhaseType
Source§fn clone(&self) -> PowerPhaseType
fn clone(&self) -> PowerPhaseType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PowerPhaseType
impl Debug for PowerPhaseType
Source§impl Hash for PowerPhaseType
impl Hash for PowerPhaseType
Source§impl PartialEq for PowerPhaseType
impl PartialEq for PowerPhaseType
Source§fn eq(&self, other: &PowerPhaseType) -> bool
fn eq(&self, other: &PowerPhaseType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PowerPhaseType
impl Eq for PowerPhaseType
impl StructuralPartialEq for PowerPhaseType
Auto Trait Implementations§
impl Freeze for PowerPhaseType
impl RefUnwindSafe for PowerPhaseType
impl Send for PowerPhaseType
impl Sync for PowerPhaseType
impl Unpin for PowerPhaseType
impl UnsafeUnpin for PowerPhaseType
impl UnwindSafe for PowerPhaseType
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