#[non_exhaustive]pub enum Polarization {
Right,
Left,
Vertical,
Horizontal,
}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.
Trait Implementations§
Source§impl AsRef<str> for Polarization
impl AsRef<str> for Polarization
Source§impl Clone for Polarization
impl Clone for Polarization
Source§fn clone(&self) -> Polarization
fn clone(&self) -> Polarization
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 moreSource§impl Debug for Polarization
impl Debug for Polarization
Source§impl Default for Polarization
impl Default for Polarization
Source§fn default() -> Polarization
fn default() -> Polarization
Returns the “default value” for a type. Read more
Source§impl FromStr for Polarization
impl FromStr for Polarization
Source§impl Hash for Polarization
impl Hash for Polarization
Source§impl Ord for Polarization
impl Ord for Polarization
Source§fn cmp(&self, other: &Polarization) -> Ordering
fn cmp(&self, other: &Polarization) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Polarization
impl PartialEq for Polarization
Source§impl PartialOrd for Polarization
impl PartialOrd for Polarization
Source§impl TryFrom<&str> for Polarization
impl TryFrom<&str> for Polarization
impl Copy for Polarization
impl Eq for Polarization
impl StructuralPartialEq for Polarization
Auto Trait Implementations§
impl Freeze for Polarization
impl RefUnwindSafe for Polarization
impl Send for Polarization
impl Sync for Polarization
impl Unpin for Polarization
impl UnwindSafe for Polarization
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