[−][src]Struct qt_gui::q_text_char_format::VerticalAlignment
This enum describes the ways that adjacent characters can be vertically aligned.
C++ enum: QTextCharFormat::VerticalAlignment
.
This enum describes the ways that adjacent characters can be vertically aligned.
Methods
impl VerticalAlignment
[src]
impl VerticalAlignment
[src]
pub const AlignNormal: VerticalAlignment
[src]
Adjacent characters are positioned in the standard way for text in the writing system in use. (C++ enum variant: AlignNormal = 0
)
pub const AlignSuperScript: VerticalAlignment
[src]
Characters are placed above the base line for normal text. (C++ enum variant: AlignSuperScript = 1
)
pub const AlignSubScript: VerticalAlignment
[src]
Characters are placed below the base line for normal text. (C++ enum variant: AlignSubScript = 2
)
pub const AlignMiddle: VerticalAlignment
[src]
The center of the object is vertically aligned with the base line. Currently, this is only implemented for inline objects. (C++ enum variant: AlignMiddle = 3
)
pub const AlignTop: VerticalAlignment
[src]
The top edge of the object is vertically aligned with the base line. (C++ enum variant: AlignTop = 4
)
pub const AlignBottom: VerticalAlignment
[src]
The bottom edge of the object is vertically aligned with the base line. (C++ enum variant: AlignBottom = 5
)
pub const AlignBaseline: VerticalAlignment
[src]
The base lines of the characters are aligned. (C++ enum variant: AlignBaseline = 6
)
Trait Implementations
impl Clone for VerticalAlignment
[src]
fn clone(&self) -> VerticalAlignment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VerticalAlignment
[src]
impl Debug for VerticalAlignment
[src]
impl Eq for VerticalAlignment
[src]
impl From<VerticalAlignment> for c_int
[src]
fn from(value: VerticalAlignment) -> Self
[src]
impl From<i32> for VerticalAlignment
[src]
impl PartialEq<VerticalAlignment> for VerticalAlignment
[src]
fn eq(&self, other: &VerticalAlignment) -> bool
[src]
fn ne(&self, other: &VerticalAlignment) -> bool
[src]
impl StructuralEq for VerticalAlignment
[src]
impl StructuralPartialEq for VerticalAlignment
[src]
Auto Trait Implementations
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,