[][src]Struct qt_charts::QPolarChart

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

C++ class: QtCharts::QPolarChart.

Methods

impl QPolarChart[src]

pub unsafe fn add_axis(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>,
    polar_orientation: PolarOrientation
)
[src]

This convenience method adds the axis axis to the polar chart with the polar orientation polarOrientation. The chart takes the ownership of the axis.

Calls C++ function: void QtCharts::QPolarChart::addAxis(QtCharts::QAbstractAxis* axis, QtCharts::QPolarChart::PolarOrientation polarOrientation).

C++ documentation:

This convenience method adds the axis axis to the polar chart with the polar orientation polarOrientation. The chart takes the ownership of the axis.

Note: Axes can be added to a polar chart also with QChart::addAxis(). The specified alignment determines the polar orientation: horizontal alignments indicate an angular axis and vertical alignments indicate a radial axis.

See also QChart::removeAxis(), QChart::createDefaultAxes(), QAbstractSeries::attachAxis(), and QChart::addAxis().

pub unsafe fn axes_2a(
    &self,
    polar_orientation: QFlags<PolarOrientation>,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> CppBox<QListOfQAbstractAxis>
[src]

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QPolarChart::axes(QFlags<QtCharts::QPolarChart::PolarOrientation> polarOrientation = …, QtCharts::QAbstractSeries* series = …) const.

Warning: no exact match found in C++ documentation. Below is the C++ documentation for QList<QAbstractAxis *> QPolarChart::axes(QPolarChart::PolarOrientations polarOrientation = PolarOrientations(PolarOrientationRadial | PolarOrientationAngular), QAbstractSeries *series = nullptr) const:

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

See also addAxis().

pub unsafe fn axes_1a(
    &self,
    polar_orientation: QFlags<PolarOrientation>
) -> CppBox<QListOfQAbstractAxis>
[src]

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QPolarChart::axes(QFlags<QtCharts::QPolarChart::PolarOrientation> polarOrientation = …) const.

Warning: no exact match found in C++ documentation. Below is the C++ documentation for QList<QAbstractAxis *> QPolarChart::axes(QPolarChart::PolarOrientations polarOrientation = PolarOrientations(PolarOrientationRadial | PolarOrientationAngular), QAbstractSeries *series = nullptr) const:

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

See also addAxis().

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

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QPolarChart::axes() const.

Warning: no exact match found in C++ documentation. Below is the C++ documentation for QList<QAbstractAxis *> QPolarChart::axes(QPolarChart::PolarOrientations polarOrientation = PolarOrientations(PolarOrientationRadial | PolarOrientationAngular), QAbstractSeries *series = nullptr) const:

Returns the axes added for the series series with the polar orientation polarOrientation. If no series is provided, any axis with the specified polar orientation is returned.

See also addAxis().

pub unsafe fn axis_polar_orientation(
    axis: impl CastInto<Ptr<QAbstractAxis>>
) -> PolarOrientation
[src]

The angular axes of a polar chart report horizontal orientation and the radial axes report vertical orientation. This function is a convenience function for converting the orientation of the axis axis to the corresponding polar orientation. If the axis is null or not added to a polar chart, the return value is meaningless.

Calls C++ function: static QtCharts::QPolarChart::PolarOrientation QtCharts::QPolarChart::axisPolarOrientation(QtCharts::QAbstractAxis* axis).

C++ documentation:

The angular axes of a polar chart report horizontal orientation and the radial axes report vertical orientation. This function is a convenience function for converting the orientation of the axis axis to the corresponding polar orientation. If the axis is null or not added to a polar chart, the return value is meaningless.

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

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

pub unsafe fn new_2a(
    parent: impl CastInto<Ptr<QGraphicsItem>>,
    w_flags: QFlags<WindowType>
) -> QBox<QPolarChart>
[src]

Calls C++ function: [constructor] void QtCharts::QPolarChart::QPolarChart(QGraphicsItem* parent = …, QFlags<Qt::WindowType> wFlags = …).

pub unsafe fn new_0a() -> QBox<QPolarChart>[src]

Calls C++ function: [constructor] void QtCharts::QPolarChart::QPolarChart().

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QGraphicsItem>>
) -> QBox<QPolarChart>
[src]

Calls C++ function: [constructor] void QtCharts::QPolarChart::QPolarChart(QGraphicsItem* parent = …).

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::QPolarChart::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::QPolarChart::qt_metacast(const char* arg1).

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::QPolarChart::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::QPolarChart::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QChart>

pub fn plot_area_changed(&self) -> Signal<(*const QRectF,)>[src]

This property holds the rectangle within which the chart is drawn.

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

C++ documentation:

This property holds the rectangle within which the chart is drawn.

The plot area does not include the area defined by margins. By default this will resize if inside a QChartView. If an explicit size is set for the plot area then it will respect this, to revert back to the default behavior, then calling setPlotArea(QRectF()); will achieve this.

Access functions:

QRectF plotArea() const
void setPlotArea(const QRectF &rect)

Notifier signal:

void plotAreaChanged(const QRectF &plotArea)

pub unsafe fn add_axis(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>,
    alignment: QFlags<AlignmentFlag>
)
[src]

Adds the axis axis to the chart aligned as specified by alignment. The chart takes the ownership of the axis.

Calls C++ function: void QtCharts::QChart::addAxis(QtCharts::QAbstractAxis* axis, QFlags<Qt::AlignmentFlag> alignment).

C++ documentation:

Adds the axis axis to the chart aligned as specified by alignment. The chart takes the ownership of the axis.

See also removeAxis(), createDefaultAxes(), and QAbstractSeries::attachAxis().

pub unsafe fn add_series(&self, series: impl CastInto<Ptr<QAbstractSeries>>)[src]

Adds the series series to the chart and takes ownership of it.

Calls C++ function: void QtCharts::QChart::addSeries(QtCharts::QAbstractSeries* series).

C++ documentation:

Adds the series series to the chart and takes ownership of it.

Note: A newly added series is not attached to any axes by default, not even those that might have been created for the chart using createDefaultAxes() before the series was added to the chart. If no axes are attached to the newly added series before the chart is shown, the series will get drawn as if it had axes with ranges that exactly fit the series to the plot area of the chart. This can be confusing if the same chart also displays other series that have properly attached axes, so always make sure you either call createDefaultAxes() after a series has been added or explicitly attach axes for the series.

See also removeSeries(), removeAllSeries(), createDefaultAxes(), and QAbstractSeries::attachAxis().

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

This property holds the duration of the animation for the chart.

Calls C++ function: int QtCharts::QChart::animationDuration() const.

C++ documentation:

This property holds the duration of the animation for the chart.

Access functions:

int animationDuration() const
void setAnimationDuration(int msecs)

pub unsafe fn animation_easing_curve(&self) -> CppBox<QEasingCurve>[src]

This property holds the easing curve of the animation for the chart.

Calls C++ function: QEasingCurve QtCharts::QChart::animationEasingCurve() const.

C++ documentation:

This property holds the easing curve of the animation for the chart.

Access functions:

QEasingCurve animationEasingCurve() const
void setAnimationEasingCurve(const QEasingCurve &curve)

pub unsafe fn animation_options(&self) -> QFlags<AnimationOption>[src]

This property holds the animation options for the chart.

Calls C++ function: QFlags<QtCharts::QChart::AnimationOption> QtCharts::QChart::animationOptions() const.

C++ documentation:

This property holds the animation options for the chart.

Animations are enabled or disabled based on this setting.

Access functions:

QChart::AnimationOptions animationOptions() const
void setAnimationOptions(QChart::AnimationOptions options)

pub unsafe fn axes_2a(
    &self,
    orientation: QFlags<Orientation>,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> CppBox<QListOfQAbstractAxis>
[src]

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QChart::axes(QFlags<Qt::Orientation> orientation = …, QtCharts::QAbstractSeries* series = …) const.

C++ documentation:

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

See also addAxis() and createDefaultAxes().

pub unsafe fn axes_1a(
    &self,
    orientation: QFlags<Orientation>
) -> CppBox<QListOfQAbstractAxis>
[src]

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QChart::axes(QFlags<Qt::Orientation> orientation = …) const.

C++ documentation:

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

See also addAxis() and createDefaultAxes().

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

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

Calls C++ function: QList<QtCharts::QAbstractAxis*> QtCharts::QChart::axes() const.

C++ documentation:

Returns the axes attached to the series series with the orientation specified by orientation. If no series is specified, all axes added to the chart with the specified orientation are returned.

See also addAxis() and createDefaultAxes().

pub unsafe fn axis_x_1a(
    &self,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> QPtr<QAbstractAxis>
[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: QtCharts::QAbstractAxis* QtCharts::QChart::axisX(QtCharts::QAbstractSeries* series = …) const.

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the horizontal axis attached to the specified series. If no series is specified, the first horizontal axis added to the chart is returned.

See also setAxisX(), addAxis(), and QAbstractSeries::attachAxis().

pub unsafe fn axis_x_0a(&self) -> QPtr<QAbstractAxis>[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: QtCharts::QAbstractAxis* QtCharts::QChart::axisX() const.

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the horizontal axis attached to the specified series. If no series is specified, the first horizontal axis added to the chart is returned.

See also setAxisX(), addAxis(), and QAbstractSeries::attachAxis().

pub unsafe fn axis_y_1a(
    &self,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> QPtr<QAbstractAxis>
[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: QtCharts::QAbstractAxis* QtCharts::QChart::axisY(QtCharts::QAbstractSeries* series = …) const.

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the vertical axis attached to the specified series. If no series is specified, the first vertical axis added to the chart is returned.

See also setAxisY(), addAxis(), and QAbstractSeries::attachAxis().

pub unsafe fn axis_y_0a(&self) -> QPtr<QAbstractAxis>[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: QtCharts::QAbstractAxis* QtCharts::QChart::axisY() const.

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the vertical axis attached to the specified series. If no series is specified, the first vertical axis added to the chart is returned.

See also setAxisY(), addAxis(), and QAbstractSeries::attachAxis().

pub unsafe fn background_brush(&self) -> CppBox<QBrush>[src]

Gets the brush that is used for painting the background of the chart area.

Calls C++ function: QBrush QtCharts::QChart::backgroundBrush() const.

C++ documentation:

Gets the brush that is used for painting the background of the chart area.

See also setBackgroundBrush().

pub unsafe fn background_pen(&self) -> CppBox<QPen>[src]

Gets the pen that is used for painting the background of the chart area.

Calls C++ function: QPen QtCharts::QChart::backgroundPen() const.

C++ documentation:

Gets the pen that is used for painting the background of the chart area.

See also setBackgroundPen().

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

This property holds the diameter of the rounding circle at the corners of the chart background.

Calls C++ function: double QtCharts::QChart::backgroundRoundness() const.

C++ documentation:

This property holds the diameter of the rounding circle at the corners of the chart background.

Access functions:

qreal backgroundRoundness() const
void setBackgroundRoundness(qreal diameter)

pub unsafe fn chart_type(&self) -> ChartType[src]

This property holds whether the chart is a cartesian chart or a polar chart.

Calls C++ function: QtCharts::QChart::ChartType QtCharts::QChart::chartType() const.

C++ documentation:

This property holds whether the chart is a cartesian chart or a polar chart.

This property is set internally and it is read only.

Access functions:

QChart::ChartType chartType() const

See also QPolarChart.

pub unsafe fn create_default_axes(&self)[src]

Creates axes for the chart based on the series that have already been added to the chart. Any axes previously added to the chart will be deleted.

Calls C++ function: void QtCharts::QChart::createDefaultAxes().

C++ documentation:

Creates axes for the chart based on the series that have already been added to the chart. Any axes previously added to the chart will be deleted.

Note: This function has to be called after all series have been added to the chart. The axes created by this function will NOT get automatically attached to any series added to the chart after this function has been called. A series with no axes attached will by default scale to utilize the entire plot area of the chart, which can be confusing if there are other series with properly attached axes also present.

Series typeHorizontal axis (X)Vertical axis (Y)
QXYSeriesQValueAxisQValueAxis
QBarSeriesQBarCategoryAxisQValueAxis
QPieSeriesNoneNone

If there are several QXYSeries derived series added to the chart and no series of other types have been added, then only one pair of axes is created. If there are several series of different types added to the chart, then each series gets its own axes pair.

The axes specific to the series can be later obtained from the chart by providing the series as the parameter for the axes() function call. QPieSeries does not create any axes.

See also axes() and QAbstractSeries::attachAxis().

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

This property holds whether the chart background is visible.

Calls C++ function: bool QtCharts::QChart::isBackgroundVisible() const.

C++ documentation:

This property holds whether the chart background is visible.

Access functions:

bool isBackgroundVisible() const
void setBackgroundVisible(bool visible = true)

See also setBackgroundBrush(), setBackgroundPen(), and plotAreaBackgroundVisible.

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

This property holds whether the background drop shadow effect is enabled.

Calls C++ function: bool QtCharts::QChart::isDropShadowEnabled() const.

C++ documentation:

This property holds whether the background drop shadow effect is enabled.

If set to true, the background drop shadow effect is enabled. If set to false, it is disabled.

Note: The drop shadow effect depends on the theme, and therefore the setting may change if the theme is changed.

Access functions:

bool isDropShadowEnabled() const
void setDropShadowEnabled(bool enabled = true)

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

This property holds whether the chart plot area background is visible.

Calls C++ function: bool QtCharts::QChart::isPlotAreaBackgroundVisible() const.

C++ documentation:

This property holds whether the chart plot area background is visible.

Note: By default, the plot area background is invisible and the plot area uses the general chart background.

Access functions:

bool isPlotAreaBackgroundVisible() const
void setPlotAreaBackgroundVisible(bool visible = true)

See also setPlotAreaBackgroundBrush(), setPlotAreaBackgroundPen(), and backgroundVisible.

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

Returns true if any series has a zoomed domain.

Calls C++ function: bool QtCharts::QChart::isZoomed().

C++ documentation:

Returns true if any series has a zoomed domain.

pub unsafe fn legend(&self) -> QPtr<QLegend>[src]

Returns the legend object of the chart. Ownership stays with the chart.

Calls C++ function: QtCharts::QLegend* QtCharts::QChart::legend() const.

C++ documentation:

Returns the legend object of the chart. Ownership stays with the chart.

pub unsafe fn locale(&self) -> CppBox<QLocale>[src]

This property holds the locale used to format various chart labels.

Calls C++ function: QLocale QtCharts::QChart::locale() const.

C++ documentation:

This property holds the locale used to format various chart labels.

Labels are localized only when localizeNumbers is true, except for QDateTimeAxis labels, which always use the QLocale set with this property.

Defaults to the application default locale at the time when the chart is constructed.

Access functions:

QLocale locale() const
void setLocale(const QLocale &locale)

See also localizeNumbers.

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

This property holds whether numbers are localized.

Calls C++ function: bool QtCharts::QChart::localizeNumbers() const.

C++ documentation:

This property holds whether numbers are localized.

When true, all generated numbers appearing in various series and axis labels will be localized using the QLocale set with the locale property. When false, the C locale is always used. Defaults to false.

Note: This property does not affect QDateTimeAxis labels, which always use the QLocale set with the locale property.

Access functions:

bool localizeNumbers() const
void setLocalizeNumbers(bool localize)

See also locale.

pub unsafe fn map_to_position_2a(
    &self,
    value: impl CastInto<Ref<QPointF>>,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> CppBox<QPointF>
[src]

Returns the position on the chart that corresponds to the value value in the series specified by series.

Calls C++ function: QPointF QtCharts::QChart::mapToPosition(const QPointF& value, QtCharts::QAbstractSeries* series = …).

C++ documentation:

Returns the position on the chart that corresponds to the value value in the series specified by series.

pub unsafe fn map_to_position_1a(
    &self,
    value: impl CastInto<Ref<QPointF>>
) -> CppBox<QPointF>
[src]

Returns the position on the chart that corresponds to the value value in the series specified by series.

Calls C++ function: QPointF QtCharts::QChart::mapToPosition(const QPointF& value).

C++ documentation:

Returns the position on the chart that corresponds to the value value in the series specified by series.

pub unsafe fn map_to_value_2a(
    &self,
    position: impl CastInto<Ref<QPointF>>,
    series: impl CastInto<Ptr<QAbstractSeries>>
) -> CppBox<QPointF>
[src]

Returns the value in the series specified by series at the position specified by position in a chart.

Calls C++ function: QPointF QtCharts::QChart::mapToValue(const QPointF& position, QtCharts::QAbstractSeries* series = …).

C++ documentation:

Returns the value in the series specified by series at the position specified by position in a chart.

pub unsafe fn map_to_value_1a(
    &self,
    position: impl CastInto<Ref<QPointF>>
) -> CppBox<QPointF>
[src]

Returns the value in the series specified by series at the position specified by position in a chart.

Calls C++ function: QPointF QtCharts::QChart::mapToValue(const QPointF& position).

C++ documentation:

Returns the value in the series specified by series at the position specified by position in a chart.

pub unsafe fn margins(&self) -> CppBox<QMargins>[src]

This property holds the minimum margins allowed between the edge of the chart rectangle and the plot area.

Calls C++ function: QMargins QtCharts::QChart::margins() const.

C++ documentation:

This property holds the minimum margins allowed between the edge of the chart rectangle and the plot area.

The margins are used for drawing the title, axes, and legend.

Access functions:

QMargins margins() const
void setMargins(const QMargins &margins)

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

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

pub unsafe fn plot_area(&self) -> CppBox<QRectF>[src]

This property holds the rectangle within which the chart is drawn.

Calls C++ function: QRectF QtCharts::QChart::plotArea() const.

C++ documentation:

This property holds the rectangle within which the chart is drawn.

The plot area does not include the area defined by margins. By default this will resize if inside a QChartView. If an explicit size is set for the plot area then it will respect this, to revert back to the default behavior, then calling setPlotArea(QRectF()); will achieve this.

Access functions:

QRectF plotArea() const
void setPlotArea(const QRectF &rect)

Notifier signal:

void plotAreaChanged(const QRectF &plotArea)

pub unsafe fn plot_area_background_brush(&self) -> CppBox<QBrush>[src]

Returns the brush used to fill the background of the plot area of the chart.

Calls C++ function: QBrush QtCharts::QChart::plotAreaBackgroundBrush() const.

C++ documentation:

Returns the brush used to fill the background of the plot area of the chart.

See also plotArea(), plotAreaBackgroundVisible, plotAreaBackgroundPen(), and setPlotAreaBackgroundBrush().

pub unsafe fn plot_area_background_pen(&self) -> CppBox<QPen>[src]

Returns the pen used to draw the background of the plot area of the chart.

Calls C++ function: QPen QtCharts::QChart::plotAreaBackgroundPen() const.

C++ documentation:

Returns the pen used to draw the background of the plot area of the chart.

See also plotArea(), plotAreaBackgroundVisible, plotAreaBackgroundBrush(), and setPlotAreaBackgroundPen().

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::QChart::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::QChart::qt_metacast(const char* arg1).

pub unsafe fn remove_all_series(&self)[src]

Removes and deletes all series objects that have been added to the chart.

Calls C++ function: void QtCharts::QChart::removeAllSeries().

C++ documentation:

Removes and deletes all series objects that have been added to the chart.

See also addSeries() and removeSeries().

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

Removes the axis axis from the chart. The chart releases the ownership of the specified axis object.

Calls C++ function: void QtCharts::QChart::removeAxis(QtCharts::QAbstractAxis* axis).

C++ documentation:

Removes the axis axis from the chart. The chart releases the ownership of the specified axis object.

See also addAxis(), createDefaultAxes(), and QAbstractSeries::detachAxis().

pub unsafe fn remove_series(&self, series: impl CastInto<Ptr<QAbstractSeries>>)[src]

Removes the series series from the chart. The chart releases the ownership of the specified series object.

Calls C++ function: void QtCharts::QChart::removeSeries(QtCharts::QAbstractSeries* series).

C++ documentation:

Removes the series series from the chart. The chart releases the ownership of the specified series object.

See also addSeries() and removeAllSeries().

pub unsafe fn scroll(&self, dx: c_double, dy: c_double)[src]

Scrolls the visible area of the chart by the distance specified by dx and dy.

Calls C++ function: void QtCharts::QChart::scroll(double dx, double dy).

C++ documentation:

Scrolls the visible area of the chart by the distance specified by dx and dy.

For polar charts, dx indicates the angle along the angular axis instead of distance.

pub unsafe fn series(&self) -> CppBox<QListOfQAbstractSeries>[src]

Returns all series that are added to the chart.

Calls C++ function: QList<QtCharts::QAbstractSeries*> QtCharts::QChart::series() const.

C++ documentation:

Returns all series that are added to the chart.

See also addSeries(), removeSeries(), and removeAllSeries().

pub unsafe fn set_animation_duration(&self, msecs: c_int)[src]

This property holds the duration of the animation for the chart.

Calls C++ function: void QtCharts::QChart::setAnimationDuration(int msecs).

C++ documentation:

This property holds the duration of the animation for the chart.

Access functions:

int animationDuration() const
void setAnimationDuration(int msecs)

pub unsafe fn set_animation_easing_curve(
    &self,
    curve: impl CastInto<Ref<QEasingCurve>>
)
[src]

This property holds the easing curve of the animation for the chart.

Calls C++ function: void QtCharts::QChart::setAnimationEasingCurve(const QEasingCurve& curve).

C++ documentation:

This property holds the easing curve of the animation for the chart.

Access functions:

QEasingCurve animationEasingCurve() const
void setAnimationEasingCurve(const QEasingCurve &curve)

pub unsafe fn set_animation_options(&self, options: QFlags<AnimationOption>)[src]

This property holds the animation options for the chart.

Calls C++ function: void QtCharts::QChart::setAnimationOptions(QFlags<QtCharts::QChart::AnimationOption> options).

Warning: no exact match found in C++ documentation. Below is the C++ documentation for animationOptions : QChart::AnimationOptions:

This property holds the animation options for the chart.

Animations are enabled or disabled based on this setting.

Access functions:

QChart::AnimationOptions animationOptions() const
void setAnimationOptions(QChart::AnimationOptions options)

pub unsafe fn set_axis_x_2a(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>,
    series: impl CastInto<Ptr<QAbstractSeries>>
)
[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: void QtCharts::QChart::setAxisX(QtCharts::QAbstractAxis* axis, QtCharts::QAbstractSeries* series = …).

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a bottom-aligned horizontal axis. The chart takes ownership of both the axis and the series. Any horizontal axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisY(), createDefaultAxes(), and QAbstractSeries::attachAxis().

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

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: void QtCharts::QChart::setAxisX(QtCharts::QAbstractAxis* axis).

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a bottom-aligned horizontal axis. The chart takes ownership of both the axis and the series. Any horizontal axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisY(), createDefaultAxes(), and QAbstractSeries::attachAxis().

pub unsafe fn set_axis_y_2a(
    &self,
    axis: impl CastInto<Ptr<QAbstractAxis>>,
    series: impl CastInto<Ptr<QAbstractSeries>>
)
[src]

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: void QtCharts::QChart::setAxisY(QtCharts::QAbstractAxis* axis, QtCharts::QAbstractSeries* series = …).

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a left-aligned vertical axis. The chart takes ownership of both the axis and the series. Any vertical axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisX(), createDefaultAxes(), and QAbstractSeries::attachAxis().

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

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Calls C++ function: void QtCharts::QChart::setAxisY(QtCharts::QAbstractAxis* axis).

C++ documentation:

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a left-aligned vertical axis. The chart takes ownership of both the axis and the series. Any vertical axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisX(), createDefaultAxes(), and QAbstractSeries::attachAxis().

pub unsafe fn set_background_brush(&self, brush: impl CastInto<Ref<QBrush>>)[src]

Sets the brush that is used for painting the background of the chart area to brush.

Calls C++ function: void QtCharts::QChart::setBackgroundBrush(const QBrush& brush).

C++ documentation:

Sets the brush that is used for painting the background of the chart area to brush.

See also backgroundBrush().

pub unsafe fn set_background_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

Sets the pen that is used for painting the background of the chart area to pen.

Calls C++ function: void QtCharts::QChart::setBackgroundPen(const QPen& pen).

C++ documentation:

Sets the pen that is used for painting the background of the chart area to pen.

See also backgroundPen().

pub unsafe fn set_background_roundness(&self, diameter: c_double)[src]

This property holds the diameter of the rounding circle at the corners of the chart background.

Calls C++ function: void QtCharts::QChart::setBackgroundRoundness(double diameter).

C++ documentation:

This property holds the diameter of the rounding circle at the corners of the chart background.

Access functions:

qreal backgroundRoundness() const
void setBackgroundRoundness(qreal diameter)

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

This property holds whether the chart background is visible.

Calls C++ function: void QtCharts::QChart::setBackgroundVisible(bool visible = …).

C++ documentation:

This property holds whether the chart background is visible.

Access functions:

bool isBackgroundVisible() const
void setBackgroundVisible(bool visible = true)

See also setBackgroundBrush(), setBackgroundPen(), and plotAreaBackgroundVisible.

pub unsafe fn set_background_visible_0a(&self)[src]

This property holds whether the chart background is visible.

Calls C++ function: void QtCharts::QChart::setBackgroundVisible().

C++ documentation:

This property holds whether the chart background is visible.

Access functions:

bool isBackgroundVisible() const
void setBackgroundVisible(bool visible = true)

See also setBackgroundBrush(), setBackgroundPen(), and plotAreaBackgroundVisible.

pub unsafe fn set_drop_shadow_enabled_1a(&self, enabled: bool)[src]

This property holds whether the background drop shadow effect is enabled.

Calls C++ function: void QtCharts::QChart::setDropShadowEnabled(bool enabled = …).

C++ documentation:

This property holds whether the background drop shadow effect is enabled.

If set to true, the background drop shadow effect is enabled. If set to false, it is disabled.

Note: The drop shadow effect depends on the theme, and therefore the setting may change if the theme is changed.

Access functions:

bool isDropShadowEnabled() const
void setDropShadowEnabled(bool enabled = true)

pub unsafe fn set_drop_shadow_enabled_0a(&self)[src]

This property holds whether the background drop shadow effect is enabled.

Calls C++ function: void QtCharts::QChart::setDropShadowEnabled().

C++ documentation:

This property holds whether the background drop shadow effect is enabled.

If set to true, the background drop shadow effect is enabled. If set to false, it is disabled.

Note: The drop shadow effect depends on the theme, and therefore the setting may change if the theme is changed.

Access functions:

bool isDropShadowEnabled() const
void setDropShadowEnabled(bool enabled = true)

pub unsafe fn set_locale(&self, locale: impl CastInto<Ref<QLocale>>)[src]

This property holds the locale used to format various chart labels.

Calls C++ function: void QtCharts::QChart::setLocale(const QLocale& locale).

C++ documentation:

This property holds the locale used to format various chart labels.

Labels are localized only when localizeNumbers is true, except for QDateTimeAxis labels, which always use the QLocale set with this property.

Defaults to the application default locale at the time when the chart is constructed.

Access functions:

QLocale locale() const
void setLocale(const QLocale &locale)

See also localizeNumbers.

pub unsafe fn set_localize_numbers(&self, localize: bool)[src]

This property holds whether numbers are localized.

Calls C++ function: void QtCharts::QChart::setLocalizeNumbers(bool localize).

C++ documentation:

This property holds whether numbers are localized.

When true, all generated numbers appearing in various series and axis labels will be localized using the QLocale set with the locale property. When false, the C locale is always used. Defaults to false.

Note: This property does not affect QDateTimeAxis labels, which always use the QLocale set with the locale property.

Access functions:

bool localizeNumbers() const
void setLocalizeNumbers(bool localize)

See also locale.

pub unsafe fn set_margins(&self, margins: impl CastInto<Ref<QMargins>>)[src]

This property holds the minimum margins allowed between the edge of the chart rectangle and the plot area.

Calls C++ function: void QtCharts::QChart::setMargins(const QMargins& margins).

C++ documentation:

This property holds the minimum margins allowed between the edge of the chart rectangle and the plot area.

The margins are used for drawing the title, axes, and legend.

Access functions:

QMargins margins() const
void setMargins(const QMargins &margins)

pub unsafe fn set_plot_area(&self, rect: impl CastInto<Ref<QRectF>>)[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.12.2" or cpp_lib_version="5.14.0" only.

This property holds the rectangle within which the chart is drawn.

Calls C++ function: void QtCharts::QChart::setPlotArea(const QRectF& rect).

C++ documentation:

This property holds the rectangle within which the chart is drawn.

The plot area does not include the area defined by margins. By default this will resize if inside a QChartView. If an explicit size is set for the plot area then it will respect this, to revert back to the default behavior, then calling setPlotArea(QRectF()); will achieve this.

Access functions:

QRectF plotArea() const
void setPlotArea(const QRectF &rect)

Notifier signal:

void plotAreaChanged(const QRectF &plotArea)

pub unsafe fn set_plot_area_background_brush(
    &self,
    brush: impl CastInto<Ref<QBrush>>
)
[src]

Sets the brush used to fill the background of the plot area of the chart to brush.

Calls C++ function: void QtCharts::QChart::setPlotAreaBackgroundBrush(const QBrush& brush).

C++ documentation:

Sets the brush used to fill the background of the plot area of the chart to brush.

See also plotArea(), plotAreaBackgroundVisible, setPlotAreaBackgroundPen(), and plotAreaBackgroundBrush().

pub unsafe fn set_plot_area_background_pen(&self, pen: impl CastInto<Ref<QPen>>)[src]

Sets the pen used to draw the background of the plot area of the chart to pen.

Calls C++ function: void QtCharts::QChart::setPlotAreaBackgroundPen(const QPen& pen).

C++ documentation:

Sets the pen used to draw the background of the plot area of the chart to pen.

See also plotArea(), plotAreaBackgroundVisible, setPlotAreaBackgroundBrush(), and plotAreaBackgroundPen().

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

This property holds whether the chart plot area background is visible.

Calls C++ function: void QtCharts::QChart::setPlotAreaBackgroundVisible(bool visible = …).

C++ documentation:

This property holds whether the chart plot area background is visible.

Note: By default, the plot area background is invisible and the plot area uses the general chart background.

Access functions:

bool isPlotAreaBackgroundVisible() const
void setPlotAreaBackgroundVisible(bool visible = true)

See also setPlotAreaBackgroundBrush(), setPlotAreaBackgroundPen(), and backgroundVisible.

pub unsafe fn set_plot_area_background_visible_0a(&self)[src]

This property holds whether the chart plot area background is visible.

Calls C++ function: void QtCharts::QChart::setPlotAreaBackgroundVisible().

C++ documentation:

This property holds whether the chart plot area background is visible.

Note: By default, the plot area background is invisible and the plot area uses the general chart background.

Access functions:

bool isPlotAreaBackgroundVisible() const
void setPlotAreaBackgroundVisible(bool visible = true)

See also setPlotAreaBackgroundBrush(), setPlotAreaBackgroundPen(), and backgroundVisible.

pub unsafe fn set_theme(&self, theme: ChartTheme)[src]

This property holds the theme used for the chart.

Calls C++ function: void QtCharts::QChart::setTheme(QtCharts::QChart::ChartTheme theme).

C++ documentation:

This property holds the theme used for the chart.

Access functions:

QChart::ChartTheme theme() const
void setTheme(QChart::ChartTheme theme)

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

This property holds the title of the chart.

Calls C++ function: void QtCharts::QChart::setTitle(const QString& title).

C++ documentation:

This property holds the title of the chart.

The title is shown as a headline on top of the chart. Chart titles support HTML formatting.

Access functions:

QString title() const
void setTitle(const QString &title)

pub unsafe fn set_title_brush(&self, brush: impl CastInto<Ref<QBrush>>)[src]

Sets the brush used for drawing the title text to brush.

Calls C++ function: void QtCharts::QChart::setTitleBrush(const QBrush& brush).

C++ documentation:

Sets the brush used for drawing the title text to brush.

See also titleBrush().

pub unsafe fn set_title_font(&self, font: impl CastInto<Ref<QFont>>)[src]

Sets the font that is used for drawing the chart title to font.

Calls C++ function: void QtCharts::QChart::setTitleFont(const QFont& font).

C++ documentation:

Sets the font that is used for drawing the chart title to font.

See also titleFont().

pub unsafe fn theme(&self) -> ChartTheme[src]

This property holds the theme used for the chart.

Calls C++ function: QtCharts::QChart::ChartTheme QtCharts::QChart::theme() const.

C++ documentation:

This property holds the theme used for the chart.

Access functions:

QChart::ChartTheme theme() const
void setTheme(QChart::ChartTheme theme)

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

This property holds the title of the chart.

Calls C++ function: QString QtCharts::QChart::title() const.

C++ documentation:

This property holds the title of the chart.

The title is shown as a headline on top of the chart. Chart titles support HTML formatting.

Access functions:

QString title() const
void setTitle(const QString &title)

pub unsafe fn title_brush(&self) -> CppBox<QBrush>[src]

Returns the brush used for drawing the title text.

Calls C++ function: QBrush QtCharts::QChart::titleBrush() const.

C++ documentation:

Returns the brush used for drawing the title text.

See also setTitleBrush().

pub unsafe fn title_font(&self) -> CppBox<QFont>[src]

Gets the font that is used for drawing the chart title.

Calls C++ function: QFont QtCharts::QChart::titleFont() const.

C++ documentation:

Gets the font that is used for drawing the chart title.

See also setTitleFont().

pub unsafe fn zoom(&self, factor: c_double)[src]

Zooms into the view by the custom factor factor.

Calls C++ function: void QtCharts::QChart::zoom(double factor).

C++ documentation:

Zooms into the view by the custom factor factor.

A factor over 1.0 zooms into the view and a factor between 0.0 and 1.0 zooms out of it.

pub unsafe fn zoom_in_0a(&self)[src]

Zooms into the view by a factor of two.

Calls C++ function: void QtCharts::QChart::zoomIn().

C++ documentation:

Zooms into the view by a factor of two.

pub unsafe fn zoom_in_1a(&self, rect: impl CastInto<Ref<QRectF>>)[src]

Zooms into the view to a maximum level at which the rectangle rect is still fully visible.

Calls C++ function: void QtCharts::QChart::zoomIn(const QRectF& rect).

C++ documentation:

Zooms into the view to a maximum level at which the rectangle rect is still fully visible.

Note: Applying a zoom may modify properties of attached axes, for instance QAbstractAxis::min and QAbstractAxis::max.

Note: This is not supported for polar charts.

pub unsafe fn zoom_out(&self)[src]

Zooms out of the view by a factor of two.

Calls C++ function: void QtCharts::QChart::zoomOut().

C++ documentation:

Zooms out of the view by a factor of two.

pub unsafe fn zoom_reset(&self)[src]

Resets the series domains to what they were before any zoom method was called.

Calls C++ function: void QtCharts::QChart::zoomReset().

C++ documentation:

Resets the series domains to what they were before any zoom method was called.

Note: This will also reset scrolling and explicit axis range settings specified between the first zoom operation and calling this method. If no zoom operation has been performed, this method does nothing.

Trait Implementations

impl CppDeletable for QPolarChart[src]

unsafe fn delete(&self)[src]

Deletes the polar chart object and its children, such as the series and axis objects added to it.

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

C++ documentation:

Deletes the polar chart object and its children, such as the series and axis objects added to it.

impl Deref for QPolarChart[src]

type Target = QChart

The resulting type after dereferencing.

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

Calls C++ function: QtCharts::QChart* static_cast<QtCharts::QChart*>(QtCharts::QPolarChart* ptr).

impl DynamicCast<QPolarChart> for QChart[src]

unsafe fn dynamic_cast(ptr: Ptr<QChart>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* dynamic_cast<QtCharts::QPolarChart*>(QtCharts::QChart* ptr).

impl DynamicCast<QPolarChart> for QGraphicsWidget[src]

unsafe fn dynamic_cast(ptr: Ptr<QGraphicsWidget>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* dynamic_cast<QtCharts::QPolarChart*>(QGraphicsWidget* ptr).

impl DynamicCast<QPolarChart> for QGraphicsObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QGraphicsObject>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* dynamic_cast<QtCharts::QPolarChart*>(QGraphicsObject* ptr).

impl DynamicCast<QPolarChart> for QObject[src]

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

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

impl DynamicCast<QPolarChart> for QGraphicsItem[src]

unsafe fn dynamic_cast(ptr: Ptr<QGraphicsItem>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* dynamic_cast<QtCharts::QPolarChart*>(QGraphicsItem* ptr).

impl DynamicCast<QPolarChart> for QGraphicsLayoutItem[src]

unsafe fn dynamic_cast(ptr: Ptr<QGraphicsLayoutItem>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* dynamic_cast<QtCharts::QPolarChart*>(QGraphicsLayoutItem* ptr).

impl StaticDowncast<QPolarChart> for QChart[src]

unsafe fn static_downcast(ptr: Ptr<QChart>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* static_cast<QtCharts::QPolarChart*>(QtCharts::QChart* ptr).

impl StaticDowncast<QPolarChart> for QGraphicsWidget[src]

unsafe fn static_downcast(ptr: Ptr<QGraphicsWidget>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* static_cast<QtCharts::QPolarChart*>(QGraphicsWidget* ptr).

impl StaticDowncast<QPolarChart> for QGraphicsObject[src]

unsafe fn static_downcast(ptr: Ptr<QGraphicsObject>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* static_cast<QtCharts::QPolarChart*>(QGraphicsObject* ptr).

impl StaticDowncast<QPolarChart> for QObject[src]

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

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

impl StaticDowncast<QPolarChart> for QGraphicsItem[src]

unsafe fn static_downcast(ptr: Ptr<QGraphicsItem>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* static_cast<QtCharts::QPolarChart*>(QGraphicsItem* ptr).

impl StaticDowncast<QPolarChart> for QGraphicsLayoutItem[src]

unsafe fn static_downcast(ptr: Ptr<QGraphicsLayoutItem>) -> Ptr<QPolarChart>[src]

Calls C++ function: QtCharts::QPolarChart* static_cast<QtCharts::QPolarChart*>(QGraphicsLayoutItem* ptr).

impl StaticUpcast<QChart> for QPolarChart[src]

unsafe fn static_upcast(ptr: Ptr<QPolarChart>) -> Ptr<QChart>[src]

Calls C++ function: QtCharts::QChart* static_cast<QtCharts::QChart*>(QtCharts::QPolarChart* ptr).

impl StaticUpcast<QGraphicsItem> for QPolarChart[src]

unsafe fn static_upcast(ptr: Ptr<QPolarChart>) -> Ptr<QGraphicsItem>[src]

Calls C++ function: QGraphicsItem* static_cast<QGraphicsItem*>(QtCharts::QPolarChart* ptr).

impl StaticUpcast<QGraphicsLayoutItem> for QPolarChart[src]

unsafe fn static_upcast(ptr: Ptr<QPolarChart>) -> Ptr<QGraphicsLayoutItem>[src]

Calls C++ function: QGraphicsLayoutItem* static_cast<QGraphicsLayoutItem*>(QtCharts::QPolarChart* ptr).

impl StaticUpcast<QGraphicsObject> for QPolarChart[src]

unsafe fn static_upcast(ptr: Ptr<QPolarChart>) -> Ptr<QGraphicsObject>[src]

Calls C++ function: QGraphicsObject* static_cast<QGraphicsObject*>(QtCharts::QPolarChart* ptr).

impl StaticUpcast<QGraphicsWidget> for QPolarChart[src]

unsafe fn static_upcast(ptr: Ptr<QPolarChart>) -> Ptr<QGraphicsWidget>[src]

Calls C++ function: QGraphicsWidget* static_cast<QGraphicsWidget*>(QtCharts::QPolarChart* ptr).

impl StaticUpcast<QObject> for QPolarChart[src]

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

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QPolarChart* 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.