Enum ssd1306::displayrotation::DisplayRotation
source · pub enum DisplayRotation {
Rotate0,
Rotate90,
Rotate180,
Rotate270,
}
Expand description
Display rotation.
Note that 90º and 270º rotations are not supported by
Variants§
Rotate0
No rotation, normal display
Rotate90
Rotate by 90 degress clockwise
Rotate180
Rotate by 180 degress clockwise
Rotate270
Rotate 270 degress clockwise
Trait Implementations§
source§impl Clone for DisplayRotation
impl Clone for DisplayRotation
source§fn clone(&self) -> DisplayRotation
fn clone(&self) -> DisplayRotation
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 more