Enum i_slint_core::layout::Orientation
source · #[repr(u8)]
pub enum Orientation {
Horizontal,
Vertical,
}Expand description
Vertical or Horizontal orientation
Variants§
Trait Implementations§
source§impl Clone for Orientation
impl Clone for Orientation
source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 moresource§impl Debug for Orientation
impl Debug for Orientation
source§impl Hash for Orientation
impl Hash for Orientation
source§impl PartialEq<Orientation> for Orientation
impl PartialEq<Orientation> for Orientation
source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.