Struct cxx_qt_lib::QPointF
source · #[repr(C)]pub struct QPointF { /* private fields */ }
Expand description
The QPointF struct defines a point in the plane using floating point precision.
Implementations§
source§impl QPointF
impl QPointF
sourcepub fn manhattan_length(&self) -> f64
pub fn manhattan_length(&self) -> f64
Returns the sum of the absolute values of x() and y(), traditionally known as the “Manhattan length” of the vector from the origin to the point.
Trait Implementations§
source§impl ExternType for QPointF
impl ExternType for QPointF
source§impl PartialEq for QPointF
impl PartialEq for QPointF
source§impl QListElement for QPointF
impl QListElement for QPointF
type TypeId = (Q, L, i, s, t, __, Q, P, o, i, n, t, F)
fn append(list: &mut QList<Self>, value: Self)
fn append_clone(list: &mut QList<Self>, value: &Self)
fn clear(list: &mut QList<Self>)
fn clone(list: &QList<Self>) -> QList<Self>
fn contains(list: &QList<Self>, value: &Self) -> bool
fn default() -> QList<Self>
fn drop(list: &mut QList<Self>)
fn index_of(list: &QList<Self>, value: &Self) -> isize
fn insert(list: &mut QList<Self>, pos: isize, value: Self)
fn insert_clone(list: &mut QList<Self>, pos: isize, value: &Self)
fn len(list: &QList<Self>) -> isize
fn remove(list: &mut QList<Self>, pos: isize)
fn reserve(list: &mut QList<Self>, size: isize)
source§impl QVariantValue for QPointF
impl QVariantValue for QPointF
source§impl QVectorElement for QPointF
impl QVectorElement for QPointF
type TypeId = (Q, V, e, c, t, o, r, __, Q, P, o, i, n, t, F)
fn append(vector: &mut QVector<Self>, value: Self)
fn append_clone(vector: &mut QVector<Self>, value: &Self)
fn clear(vector: &mut QVector<Self>)
fn clone(vector: &QVector<Self>) -> QVector<Self>
fn contains(vector: &QVector<Self>, value: &Self) -> bool
fn default() -> QVector<Self>
fn drop(vector: &mut QVector<Self>)
fn index_of(vector: &QVector<Self>, value: &Self) -> isize
fn insert(vector: &mut QVector<Self>, pos: isize, value: Self)
fn insert_clone(vector: &mut QVector<Self>, pos: isize, value: &Self)
fn len(vector: &QVector<Self>) -> isize
fn remove(vector: &mut QVector<Self>, pos: isize)
fn reserve(vector: &mut QVector<Self>, size: isize)
impl StructuralPartialEq for QPointF
Auto Trait Implementations§
impl Freeze for QPointF
impl RefUnwindSafe for QPointF
impl Send for QPointF
impl Sync for QPointF
impl Unpin for QPointF
impl UnwindSafe for QPointF
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