Enum Orientation
#[repr(u32)]pub enum Orientation {
Horizontal = 0,
Vertical = 1,
}Expand description
Represents the orientation of an element or widget such as the Slider.
Variants§
Trait Implementations§
§impl Clone for Orientation
impl Clone for Orientation
§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 moreimpl Copy for Orientation
§impl Debug for Orientation
impl Debug for Orientation
§impl Default for Orientation
impl Default for Orientation
§fn default() -> Orientation
fn default() -> Orientation
Returns the “default value” for a type. Read more
§impl Display for Orientation
impl Display for Orientation
impl Eq for Orientation
§impl FromStr for Orientation
impl FromStr for Orientation
§impl Hash for Orientation
impl Hash for Orientation
§impl PartialEq for Orientation
impl PartialEq for Orientation
impl StructuralPartialEq for Orientation
§impl TryFrom<&str> for Orientation
impl TryFrom<&str> for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Converts the given value to a [
SharedString].