#[repr(u8)]pub enum RotationAxis {
Left = 0,
Centeredvertical = 1,
Leftandright = 2,
Right = 3,
Top = 4,
Centeredhorizontal = 5,
Topandbottom = 6,
Bottom = 7,
Leftbarrier = 8,
Leftandrightbarriers = 9,
Rightbarrier = 10,
}Variants§
Left = 0
The panel rotates around a vertical axis located on the left side of the panel
Centeredvertical = 1
The panel rotates around a vertical axis located in the center of the panel
Leftandright = 2
The panels rotates around vertical axes located on the left and right sides of the panel
Right = 3
The panel rotates around a vertical axis located on the right side of the panel
Top = 4
The panel rotates around a horizontal axis located on the top of the panel
Centeredhorizontal = 5
The panel rotates around a horizontal axis located in the center of the panel
Topandbottom = 6
The panels rotates around horizontal axes located on the top and bottom of the panel
Bottom = 7
The panel rotates around a horizontal axis located on the bottom of the panel
Leftbarrier = 8
The barrier tilts around an axis located at the left end of the barrier
Leftandrightbarriers = 9
The dual barriers tilt around axes located at each side of the composite barrier
Rightbarrier = 10
The barrier tilts around an axis located at the right end of the barrier
Implementations§
Trait Implementations§
Source§impl Clone for RotationAxis
impl Clone for RotationAxis
Source§fn clone(&self) -> RotationAxis
fn clone(&self) -> RotationAxis
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RotationAxis
impl Debug for RotationAxis
Source§impl<'de> Deserialize<'de> for RotationAxis
impl<'de> Deserialize<'de> for RotationAxis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<RotationAxis> for u8
impl From<RotationAxis> for u8
Source§fn from(val: RotationAxis) -> Self
fn from(val: RotationAxis) -> Self
Source§impl PartialEq for RotationAxis
impl PartialEq for RotationAxis
Source§fn eq(&self, other: &RotationAxis) -> bool
fn eq(&self, other: &RotationAxis) -> bool
self and other values to be equal, and is used by ==.