pub struct VerticalAlignment(/* private fields */);Expand description
C++ enum: QTextCharFormat::VerticalAlignment.
Implementations§
Source§impl VerticalAlignment
impl VerticalAlignment
Sourcepub const AlignNormal: VerticalAlignment
pub const AlignNormal: VerticalAlignment
C++ enum variant: AlignNormal = 0
Sourcepub const AlignSuperScript: VerticalAlignment
pub const AlignSuperScript: VerticalAlignment
C++ enum variant: AlignSuperScript = 1
Sourcepub const AlignSubScript: VerticalAlignment
pub const AlignSubScript: VerticalAlignment
C++ enum variant: AlignSubScript = 2
Sourcepub const AlignMiddle: VerticalAlignment
pub const AlignMiddle: VerticalAlignment
C++ enum variant: AlignMiddle = 3
Sourcepub const AlignTop: VerticalAlignment
pub const AlignTop: VerticalAlignment
C++ enum variant: AlignTop = 4
Sourcepub const AlignBottom: VerticalAlignment
pub const AlignBottom: VerticalAlignment
C++ enum variant: AlignBottom = 5
Sourcepub const AlignBaseline: VerticalAlignment
pub const AlignBaseline: VerticalAlignment
C++ enum variant: AlignBaseline = 6
Trait Implementations§
Source§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
Source§fn clone(&self) -> VerticalAlignment
fn clone(&self) -> VerticalAlignment
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 VerticalAlignment
impl Debug for VerticalAlignment
Source§impl From<VerticalAlignment> for c_int
impl From<VerticalAlignment> for c_int
Source§fn from(value: VerticalAlignment) -> Self
fn from(value: VerticalAlignment) -> Self
Converts to this type from the input type.
Source§impl From<i32> for VerticalAlignment
impl From<i32> for VerticalAlignment
Source§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
Source§fn eq(&self, other: &VerticalAlignment) -> bool
fn eq(&self, other: &VerticalAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VerticalAlignment
impl Eq for VerticalAlignment
impl StructuralPartialEq for VerticalAlignment
Auto Trait Implementations§
impl Freeze for VerticalAlignment
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnsafeUnpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
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