pub struct Orientation(/* private fields */);Expand description
C++ enum: Qt::Orientation.
Implementations§
Source§impl Orientation
impl Orientation
Sourcepub const Horizontal: Orientation
pub const Horizontal: Orientation
C++ enum variant: Horizontal = 1
Sourcepub const Vertical: Orientation
pub const Vertical: Orientation
C++ enum variant: Vertical = 2
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§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 moreSource§impl Debug for Orientation
impl Debug for Orientation
Source§impl From<Orientation> for c_int
impl From<Orientation> for c_int
Source§fn from(value: Orientation) -> Self
fn from(value: Orientation) -> Self
Converts to this type from the input type.
Source§impl From<i32> for Orientation
impl From<i32> for Orientation
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
Source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Orientation
impl Eq for Orientation
impl StructuralPartialEq 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