[][src]Struct qt_charts::QAbstractSeries

#[repr(C)]pub struct QAbstractSeries { /* fields omitted */ }

C++ class: QtCharts::QAbstractSeries.

Methods

impl QAbstractSeries[src]

pub fn name_changed(&self) -> Signal<()>[src]

This signal is emitted when the series name changes.

Returns a built-in Qt signal QtCharts::QAbstractSeries::nameChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the series name changes.

Note: Notifier signal for property name.

pub fn visible_changed(&self) -> Signal<()>[src]

This signal is emitted when the series visibility changes.

Returns a built-in Qt signal QtCharts::QAbstractSeries::visibleChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the series visibility changes.

Note: Notifier signal for property visible.

pub fn opacity_changed(&self) -> Signal<()>[src]

This signal is emitted when the opacity of the series changes.

Returns a built-in Qt signal QtCharts::QAbstractSeries::opacityChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the opacity of the series changes.

Note: Notifier signal for property opacity.

pub fn use_opengl_changed(&self) -> Signal<()>[src]

This signal is emitted when accelerating the drawing of the series by using OpenGL is enabled or disabled.

Returns a built-in Qt signal QtCharts::QAbstractSeries::useOpenGLChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when accelerating the drawing of the series by using OpenGL is enabled or disabled.

Note: Notifier signal for property useOpenGL.

pub unsafe fn attach_axis(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>
) -> bool
[src]

Attaches the axis specified by axis to the series.

Calls C++ function: bool QtCharts::QAbstractSeries::attachAxis(QtCharts::QAbstractAxis* axis).

C++ documentation:

Attaches the axis specified by axis to the series.

Returns true if the axis was attached successfully, false otherwise.

Note: If multiple axes of the same orientation are attached to the same series, they will have the same minimum and maximum values.

See also QChart::addAxis() and QChart::createDefaultAxes().

pub unsafe fn attached_axes(&self) -> CppBox<QListOfQAbstractAxis>[src]

Returns the list of axes attached to the series. Usually, an x-axis and a y-axis are attached to a series, except for QPieSeries, which does not have any axes attached.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QAbstractSeries::attachedAxes().

C++ documentation:

Returns the list of axes attached to the series. Usually, an x-axis and a y-axis are attached to a series, except for QPieSeries, which does not have any axes attached.

See also attachAxis() and detachAxis().

pub unsafe fn chart(&self) -> QPtr<QChart>[src]

Returns the chart that the series belongs to.

Calls C++ function: QtCharts::QChart* QtCharts::QAbstractSeries::chart() const.

C++ documentation:

Returns the chart that the series belongs to.

Set automatically when the series is added to the chart, and unset when the series is removed from the chart.

pub unsafe fn detach_axis(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>
) -> bool
[src]

Detaches the axis specified by axis from the series.

Calls C++ function: bool QtCharts::QAbstractSeries::detachAxis(QtCharts::QAbstractAxis* axis).

C++ documentation:

Detaches the axis specified by axis from the series.

Returns true if the axis was detached successfully, false otherwise.

See also QChart::removeAxis().

pub unsafe fn hide(&self)[src]

Sets the visibility of the series to false.

Calls C++ function: void QtCharts::QAbstractSeries::hide().

C++ documentation:

Sets the visibility of the series to false.

See also setVisible() and isVisible().

pub unsafe fn is_visible(&self) -> bool[src]

This property holds whether the series is visible or not.

Calls C++ function: bool QtCharts::QAbstractSeries::isVisible() const.

C++ documentation:

This property holds whether the series is visible or not.

By default, true.

Access functions:

bool isVisible() const
void setVisible(bool visible = true)

Notifier signal:

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QtCharts::QAbstractSeries::metaObject() const.

pub unsafe fn name(&self) -> CppBox<QString>[src]

This property holds the name of the series.

Calls C++ function: QString QtCharts::QAbstractSeries::name() const.

C++ documentation:

This property holds the name of the series.

The name is displayed in the legend for the series and it supports HTML formatting.

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged()

pub unsafe fn opacity(&self) -> c_double[src]

This property holds the opacity of the series.

Calls C++ function: double QtCharts::QAbstractSeries::opacity() const.

C++ documentation:

This property holds the opacity of the series.

By default, the opacity is 1.0. The valid values range from 0.0 (transparent) to 1.0 (opaque).

Access functions:

qreal opacity() const
void setOpacity(qreal opacity)

Notifier signal:

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QtCharts::QAbstractSeries::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QtCharts::QAbstractSeries::qt_metacast(const char* arg1).

pub unsafe fn set_name(&self, name: impl CastInto<Ref<QString>>)[src]

This property holds the name of the series.

Calls C++ function: void QtCharts::QAbstractSeries::setName(const QString& name).

C++ documentation:

This property holds the name of the series.

The name is displayed in the legend for the series and it supports HTML formatting.

Access functions:

QString name() const
void setName(const QString &name)

Notifier signal:

void nameChanged()

pub unsafe fn set_opacity(&self, opacity: c_double)[src]

This property holds the opacity of the series.

Calls C++ function: void QtCharts::QAbstractSeries::setOpacity(double opacity).

C++ documentation:

This property holds the opacity of the series.

By default, the opacity is 1.0. The valid values range from 0.0 (transparent) to 1.0 (opaque).

Access functions:

qreal opacity() const
void setOpacity(qreal opacity)

Notifier signal:

pub unsafe fn set_use_opengl_1a(&self, enable: bool)[src]

Specifies whether or not drawing the series is accelerated by using OpenGL.

Calls C++ function: void QtCharts::QAbstractSeries::setUseOpenGL(bool enable = …).

C++ documentation:

Specifies whether or not drawing the series is accelerated by using OpenGL.

Acceleration using OpenGL is supported only for QLineSeries and QScatterSeries. A line series used as an edge series for QAreaSeries cannot use OpenGL acceleration. When a chart contains any series that are drawn with OpenGL, a transparent QOpenGLWidget is created on top of the chart plot area. The accelerated series are not drawn on the underlying QGraphicsView, but are instead drawn on the created QOpenGLWidget.

Performance gained from using OpenGL to accelerate series drawing depends on the underlying hardware, but in most cases it is significant. For example, on a standard desktop computer, enabling OpenGL acceleration for a series typically allows rendering at least a hundred times more points without reduction on the frame rate. Chart size also has less effect on the frame rate.

The OpenGL acceleration of series drawing is meant for use cases that need fast drawing of large numbers of points. It is optimized for efficiency, and therefore the series using it lack support for many features available to non-accelerated series:

  • Series animations are not supported for accelerated series.
  • Point labels are not supported for accelerated series.
  • Pen styles and marker shapes are ignored for accelerated series. Only solid lines and plain scatter dots are supported. The scatter dots may be circular or rectangular, depending on the underlying graphics hardware and drivers.
  • Polar charts do not support accelerated series.
  • Enabling chart drop shadow or using transparent chart background color is not recommended when using accelerated series, as that can slow the frame rate down significantly.

These additional restrictions stem from the fact that the accelerated series is drawn on a separate widget on top of the chart:

  • If you draw any graphics items on top of a chart containing an accelerated series, the accelerated series is drawn over those items.
  • To enable QOpenGLWidget to be partially transparent, it needs to be stacked on top of all other widgets. This means you cannot have other widgets partially covering the chart when using accelerated series.
  • Accelerated series are not supported for use cases where the graphics scene has more than one graphics view attached to it.
  • Accelerated series are not supported for use cases where the chart has non-default geometry. For example, adding transforms to the graphics view causes the accelerated series to be drawn in an incorrect position related to the chart.

The default value is false.

Access functions:

bool useOpenGL() const
void setUseOpenGL(bool enable = true)

Notifier signal:

pub unsafe fn set_use_opengl_0a(&self)[src]

Specifies whether or not drawing the series is accelerated by using OpenGL.

Calls C++ function: void QtCharts::QAbstractSeries::setUseOpenGL().

C++ documentation:

Specifies whether or not drawing the series is accelerated by using OpenGL.

Acceleration using OpenGL is supported only for QLineSeries and QScatterSeries. A line series used as an edge series for QAreaSeries cannot use OpenGL acceleration. When a chart contains any series that are drawn with OpenGL, a transparent QOpenGLWidget is created on top of the chart plot area. The accelerated series are not drawn on the underlying QGraphicsView, but are instead drawn on the created QOpenGLWidget.

Performance gained from using OpenGL to accelerate series drawing depends on the underlying hardware, but in most cases it is significant. For example, on a standard desktop computer, enabling OpenGL acceleration for a series typically allows rendering at least a hundred times more points without reduction on the frame rate. Chart size also has less effect on the frame rate.

The OpenGL acceleration of series drawing is meant for use cases that need fast drawing of large numbers of points. It is optimized for efficiency, and therefore the series using it lack support for many features available to non-accelerated series:

  • Series animations are not supported for accelerated series.
  • Point labels are not supported for accelerated series.
  • Pen styles and marker shapes are ignored for accelerated series. Only solid lines and plain scatter dots are supported. The scatter dots may be circular or rectangular, depending on the underlying graphics hardware and drivers.
  • Polar charts do not support accelerated series.
  • Enabling chart drop shadow or using transparent chart background color is not recommended when using accelerated series, as that can slow the frame rate down significantly.

These additional restrictions stem from the fact that the accelerated series is drawn on a separate widget on top of the chart:

  • If you draw any graphics items on top of a chart containing an accelerated series, the accelerated series is drawn over those items.
  • To enable QOpenGLWidget to be partially transparent, it needs to be stacked on top of all other widgets. This means you cannot have other widgets partially covering the chart when using accelerated series.
  • Accelerated series are not supported for use cases where the graphics scene has more than one graphics view attached to it.
  • Accelerated series are not supported for use cases where the chart has non-default geometry. For example, adding transforms to the graphics view causes the accelerated series to be drawn in an incorrect position related to the chart.

The default value is false.

Access functions:

bool useOpenGL() const
void setUseOpenGL(bool enable = true)

Notifier signal:

pub unsafe fn set_visible_1a(&self, visible: bool)[src]

This property holds whether the series is visible or not.

Calls C++ function: void QtCharts::QAbstractSeries::setVisible(bool visible = …).

C++ documentation:

This property holds whether the series is visible or not.

By default, true.

Access functions:

bool isVisible() const
void setVisible(bool visible = true)

Notifier signal:

pub unsafe fn set_visible_0a(&self)[src]

This property holds whether the series is visible or not.

Calls C++ function: void QtCharts::QAbstractSeries::setVisible().

C++ documentation:

This property holds whether the series is visible or not.

By default, true.

Access functions:

bool isVisible() const
void setVisible(bool visible = true)

Notifier signal:

pub unsafe fn show(&self)[src]

Sets the visibility of the series to true.

Calls C++ function: void QtCharts::QAbstractSeries::show().

C++ documentation:

Sets the visibility of the series to true.

See also setVisible() and isVisible().

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QAbstractSeries::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QAbstractSeries::trUtf8(const char* s, const char* c, int n).

pub unsafe fn type_(&self) -> SeriesType[src]

This property holds the type of the series.

Calls C++ function: pure virtual QtCharts::QAbstractSeries::SeriesType QtCharts::QAbstractSeries::type() const.

C++ documentation:

This property holds the type of the series.

Access functions:

virtual QAbstractSeries::SeriesType type() const = 0

pub unsafe fn use_opengl(&self) -> bool[src]

Specifies whether or not drawing the series is accelerated by using OpenGL.

Calls C++ function: bool QtCharts::QAbstractSeries::useOpenGL() const.

C++ documentation:

Specifies whether or not drawing the series is accelerated by using OpenGL.

Acceleration using OpenGL is supported only for QLineSeries and QScatterSeries. A line series used as an edge series for QAreaSeries cannot use OpenGL acceleration. When a chart contains any series that are drawn with OpenGL, a transparent QOpenGLWidget is created on top of the chart plot area. The accelerated series are not drawn on the underlying QGraphicsView, but are instead drawn on the created QOpenGLWidget.

Performance gained from using OpenGL to accelerate series drawing depends on the underlying hardware, but in most cases it is significant. For example, on a standard desktop computer, enabling OpenGL acceleration for a series typically allows rendering at least a hundred times more points without reduction on the frame rate. Chart size also has less effect on the frame rate.

The OpenGL acceleration of series drawing is meant for use cases that need fast drawing of large numbers of points. It is optimized for efficiency, and therefore the series using it lack support for many features available to non-accelerated series:

  • Series animations are not supported for accelerated series.
  • Point labels are not supported for accelerated series.
  • Pen styles and marker shapes are ignored for accelerated series. Only solid lines and plain scatter dots are supported. The scatter dots may be circular or rectangular, depending on the underlying graphics hardware and drivers.
  • Polar charts do not support accelerated series.
  • Enabling chart drop shadow or using transparent chart background color is not recommended when using accelerated series, as that can slow the frame rate down significantly.

These additional restrictions stem from the fact that the accelerated series is drawn on a separate widget on top of the chart:

  • If you draw any graphics items on top of a chart containing an accelerated series, the accelerated series is drawn over those items.
  • To enable QOpenGLWidget to be partially transparent, it needs to be stacked on top of all other widgets. This means you cannot have other widgets partially covering the chart when using accelerated series.
  • Accelerated series are not supported for use cases where the graphics scene has more than one graphics view attached to it.
  • Accelerated series are not supported for use cases where the chart has non-default geometry. For example, adding transforms to the graphics view causes the accelerated series to be drawn in an incorrect position related to the chart.

The default value is false.

Access functions:

bool useOpenGL() const
void setUseOpenGL(bool enable = true)

Notifier signal:

Trait Implementations

impl CppDeletable for QAbstractSeries[src]

unsafe fn delete(&self)[src]

Virtual destructor for the chart series.

Calls C++ function: virtual [destructor] void QtCharts::QAbstractSeries::~QAbstractSeries().

C++ documentation:

Virtual destructor for the chart series.

impl Deref for QAbstractSeries[src]

type Target = QObject

The resulting type after dereferencing.

fn deref(&self) -> &QObject[src]

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QAbstractBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QAbstractBarSeries>[src]

Calls C++ function: QtCharts::QAbstractBarSeries* dynamic_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QAbstractSeries> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* dynamic_cast<QtCharts::QAbstractSeries*>(QObject* ptr).

impl DynamicCast<QAreaSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QAreaSeries>[src]

Calls C++ function: QtCharts::QAreaSeries* dynamic_cast<QtCharts::QAreaSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QBarSeries>[src]

Calls C++ function: QtCharts::QBarSeries* dynamic_cast<QtCharts::QBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QBoxPlotSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QBoxPlotSeries>[src]

Calls C++ function: QtCharts::QBoxPlotSeries* dynamic_cast<QtCharts::QBoxPlotSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QCandlestickSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QCandlestickSeries>[src]

Calls C++ function: QtCharts::QCandlestickSeries* dynamic_cast<QtCharts::QCandlestickSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QHorizontalBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QHorizontalBarSeries>[src]

Calls C++ function: QtCharts::QHorizontalBarSeries* dynamic_cast<QtCharts::QHorizontalBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QHorizontalPercentBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractSeries>
) -> Ptr<QHorizontalPercentBarSeries>
[src]

Calls C++ function: QtCharts::QHorizontalPercentBarSeries* dynamic_cast<QtCharts::QHorizontalPercentBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QHorizontalStackedBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractSeries>
) -> Ptr<QHorizontalStackedBarSeries>
[src]

Calls C++ function: QtCharts::QHorizontalStackedBarSeries* dynamic_cast<QtCharts::QHorizontalStackedBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QLineSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* dynamic_cast<QtCharts::QLineSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QPercentBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QPercentBarSeries>[src]

Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QPieSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QPieSeries>[src]

Calls C++ function: QtCharts::QPieSeries* dynamic_cast<QtCharts::QPieSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QScatterSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QScatterSeries>[src]

Calls C++ function: QtCharts::QScatterSeries* dynamic_cast<QtCharts::QScatterSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QSplineSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QSplineSeries>[src]

Calls C++ function: QtCharts::QSplineSeries* dynamic_cast<QtCharts::QSplineSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QStackedBarSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QStackedBarSeries>[src]

Calls C++ function: QtCharts::QStackedBarSeries* dynamic_cast<QtCharts::QStackedBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl DynamicCast<QXYSeries> for QAbstractSeries[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractSeries>) -> Ptr<QXYSeries>[src]

Calls C++ function: QtCharts::QXYSeries* dynamic_cast<QtCharts::QXYSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QAbstractBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QAbstractBarSeries>[src]

Calls C++ function: QtCharts::QAbstractBarSeries* static_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QAbstractSeries> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QObject* ptr).

impl StaticDowncast<QAreaSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QAreaSeries>[src]

Calls C++ function: QtCharts::QAreaSeries* static_cast<QtCharts::QAreaSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QBarSeries>[src]

Calls C++ function: QtCharts::QBarSeries* static_cast<QtCharts::QBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QBoxPlotSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QBoxPlotSeries>[src]

Calls C++ function: QtCharts::QBoxPlotSeries* static_cast<QtCharts::QBoxPlotSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QCandlestickSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QCandlestickSeries>[src]

Calls C++ function: QtCharts::QCandlestickSeries* static_cast<QtCharts::QCandlestickSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QHorizontalBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractSeries>
) -> Ptr<QHorizontalBarSeries>
[src]

Calls C++ function: QtCharts::QHorizontalBarSeries* static_cast<QtCharts::QHorizontalBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QHorizontalPercentBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractSeries>
) -> Ptr<QHorizontalPercentBarSeries>
[src]

Calls C++ function: QtCharts::QHorizontalPercentBarSeries* static_cast<QtCharts::QHorizontalPercentBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QHorizontalStackedBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractSeries>
) -> Ptr<QHorizontalStackedBarSeries>
[src]

Calls C++ function: QtCharts::QHorizontalStackedBarSeries* static_cast<QtCharts::QHorizontalStackedBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QLineSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QLineSeries>[src]

Calls C++ function: QtCharts::QLineSeries* static_cast<QtCharts::QLineSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QPercentBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QPercentBarSeries>[src]

Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QPieSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QPieSeries>[src]

Calls C++ function: QtCharts::QPieSeries* static_cast<QtCharts::QPieSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QScatterSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QScatterSeries>[src]

Calls C++ function: QtCharts::QScatterSeries* static_cast<QtCharts::QScatterSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QSplineSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QSplineSeries>[src]

Calls C++ function: QtCharts::QSplineSeries* static_cast<QtCharts::QSplineSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QStackedBarSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QStackedBarSeries>[src]

Calls C++ function: QtCharts::QStackedBarSeries* static_cast<QtCharts::QStackedBarSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticDowncast<QXYSeries> for QAbstractSeries[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QXYSeries>[src]

Calls C++ function: QtCharts::QXYSeries* static_cast<QtCharts::QXYSeries*>(QtCharts::QAbstractSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QAbstractBarSeries[src]

unsafe fn static_upcast(ptr: Ptr<QAbstractBarSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QAbstractBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QAreaSeries[src]

unsafe fn static_upcast(ptr: Ptr<QAreaSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QAreaSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QPercentBarSeries[src]

unsafe fn static_upcast(ptr: Ptr<QPercentBarSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QPercentBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QPieSeries[src]

unsafe fn static_upcast(ptr: Ptr<QPieSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QPieSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QScatterSeries[src]

unsafe fn static_upcast(ptr: Ptr<QScatterSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QScatterSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QSplineSeries[src]

unsafe fn static_upcast(ptr: Ptr<QSplineSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QSplineSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QStackedBarSeries[src]

unsafe fn static_upcast(ptr: Ptr<QStackedBarSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QStackedBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QBarSeries[src]

unsafe fn static_upcast(ptr: Ptr<QBarSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QBoxPlotSeries[src]

unsafe fn static_upcast(ptr: Ptr<QBoxPlotSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QBoxPlotSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QCandlestickSeries[src]

unsafe fn static_upcast(ptr: Ptr<QCandlestickSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QCandlestickSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QHorizontalBarSeries[src]

unsafe fn static_upcast(ptr: Ptr<QHorizontalBarSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QHorizontalBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QHorizontalPercentBarSeries[src]

unsafe fn static_upcast(
    ptr: Ptr<QHorizontalPercentBarSeries>
) -> Ptr<QAbstractSeries>
[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QHorizontalPercentBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QHorizontalStackedBarSeries[src]

unsafe fn static_upcast(
    ptr: Ptr<QHorizontalStackedBarSeries>
) -> Ptr<QAbstractSeries>
[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QHorizontalStackedBarSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QXYSeries[src]

unsafe fn static_upcast(ptr: Ptr<QXYSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QXYSeries* ptr).

impl StaticUpcast<QAbstractSeries> for QLineSeries[src]

unsafe fn static_upcast(ptr: Ptr<QLineSeries>) -> Ptr<QAbstractSeries>[src]

Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QLineSeries* ptr).

impl StaticUpcast<QObject> for QAbstractSeries[src]

unsafe fn static_upcast(ptr: Ptr<QAbstractSeries>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QAbstractSeries* ptr).

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, 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.