[][src]Struct qt_gui::q_text_frame_format::Position

#[repr(transparent)]pub struct Position(_);

This enum describes how a frame is located relative to the surrounding text.

C++ enum: QTextFrameFormat::Position.

C++ documentation:

This enum describes how a frame is located relative to the surrounding text.

See also position() and CssFloat.

Methods

impl Position[src]

pub fn to_int(&self) -> c_int[src]

impl Position[src]

pub const InFlow: Position[src]

C++ enum variant: InFlow = 0

pub const FloatLeft: Position[src]

C++ enum variant: FloatLeft = 1

pub const FloatRight: Position[src]

C++ enum variant: FloatRight = 2

Trait Implementations

impl Clone for Position[src]

impl Copy for Position[src]

impl Debug for Position[src]

impl Eq for Position[src]

impl From<Position> for c_int[src]

impl From<i32> for Position[src]

impl PartialEq<Position> for Position[src]

impl StructuralEq for Position[src]

impl StructuralPartialEq for Position[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.