[][src]Struct qt_charts::QCategoryAxis

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

C++ class: QtCharts::QCategoryAxis.

Methods

impl QCategoryAxis[src]

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

This signal is emitted when the categories of the axis change.

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

C++ documentation:

This signal is emitted when the categories of the axis change.

pub fn labels_position_changed(&self) -> Signal<(AxisLabelsPosition,)>[src]

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

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

C++ documentation:

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

Access functions:

QCategoryAxis::AxisLabelsPosition labelsPosition() const
void setLabelsPosition(QCategoryAxis::AxisLabelsPosition position)

Notifier signal:

void labelsPositionChanged(QCategoryAxis::AxisLabelsPosition position)

pub unsafe fn append(
    &mut self,
    label: impl CastInto<Ref<QString>>,
    category_end_value: c_double
)
[src]

Appends a new category to the axis with the label categoryLabel. A category label has to be unique. categoryEndValue specifies the high end limit of the category. It has to be greater than the high end limit of the previous category. Otherwise the method returns without adding a new category.

Calls C++ function: void QtCharts::QCategoryAxis::append(const QString& label, double categoryEndValue).

C++ documentation:

Appends a new category to the axis with the label categoryLabel. A category label has to be unique. categoryEndValue specifies the high end limit of the category. It has to be greater than the high end limit of the previous category. Otherwise the method returns without adding a new category.

pub unsafe fn categories_labels(&mut self) -> CppBox<QStringList>[src]

This property holds the category labels as a string list.

Calls C++ function: QStringList QtCharts::QCategoryAxis::categoriesLabels().

C++ documentation:

This property holds the category labels as a string list.

Access functions:

QStringList categoriesLabels()

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

This property holds the number of categories.

Calls C++ function: int QtCharts::QCategoryAxis::count() const.

C++ documentation:

This property holds the number of categories.

Access functions:

int count() const

pub unsafe fn end_value(
    &self,
    category_label: impl CastInto<Ref<QString>>
) -> c_double
[src]

Returns the high end limit of the category specified by categoryLabel.

Calls C++ function: double QtCharts::QCategoryAxis::endValue(const QString& categoryLabel) const.

C++ documentation:

Returns the high end limit of the category specified by categoryLabel.

pub unsafe fn labels_position(&self) -> AxisLabelsPosition[src]

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

Calls C++ function: QtCharts::QCategoryAxis::AxisLabelsPosition QtCharts::QCategoryAxis::labelsPosition() const.

C++ documentation:

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

Access functions:

QCategoryAxis::AxisLabelsPosition labelsPosition() const
void setLabelsPosition(QCategoryAxis::AxisLabelsPosition position)

Notifier signal:

void labelsPositionChanged(QCategoryAxis::AxisLabelsPosition position)

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

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

pub unsafe fn new_1a(
    parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QCategoryAxis>
[src]

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

pub unsafe fn new_0a() -> CppBox<QCategoryAxis>[src]

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

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

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

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]

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

pub unsafe fn remove(&mut self, label: impl CastInto<Ref<QString>>)[src]

Removes a category specified by the label categoryLabel from the axis.

Calls C++ function: void QtCharts::QCategoryAxis::remove(const QString& label).

C++ documentation:

Removes a category specified by the label categoryLabel from the axis.

pub unsafe fn replace_label(
    &mut self,
    old_label: impl CastInto<Ref<QString>>,
    new_label: impl CastInto<Ref<QString>>
)
[src]

Replaces an existing category label specified by oldLabel with newLabel. If the old label does not exist, the method returns without making any changes.

Calls C++ function: void QtCharts::QCategoryAxis::replaceLabel(const QString& oldLabel, const QString& newLabel).

C++ documentation:

Replaces an existing category label specified by oldLabel with newLabel. If the old label does not exist, the method returns without making any changes.

pub unsafe fn set_labels_position(&mut self, position: AxisLabelsPosition)[src]

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

Calls C++ function: void QtCharts::QCategoryAxis::setLabelsPosition(QtCharts::QCategoryAxis::AxisLabelsPosition position).

C++ documentation:

This property holds the position of the category labels. The labels in the beginning and in the end of the axes may overlap other axes' labels when positioned on value.

Access functions:

QCategoryAxis::AxisLabelsPosition labelsPosition() const
void setLabelsPosition(QCategoryAxis::AxisLabelsPosition position)

Notifier signal:

void labelsPositionChanged(QCategoryAxis::AxisLabelsPosition position)

pub unsafe fn set_start_value(&mut self, min: c_double)[src]

Sets min to be the low end limit of the first category on the axis. If categories have already been added to the axis, the passed value must be less than the high end value of the already defined first category range. Otherwise nothing is done.

Calls C++ function: void QtCharts::QCategoryAxis::setStartValue(double min).

C++ documentation:

Sets min to be the low end limit of the first category on the axis. If categories have already been added to the axis, the passed value must be less than the high end value of the already defined first category range. Otherwise nothing is done.

Note: Setter function for property startValue.

See also startValue().

pub unsafe fn start_value_1a(
    &self,
    category_label: impl CastInto<Ref<QString>>
) -> c_double
[src]

This property holds the low end of the first category on the axis.

Calls C++ function: double QtCharts::QCategoryAxis::startValue(const QString& categoryLabel = …) const.

C++ documentation:

This property holds the low end of the first category on the axis.

Access functions:

qreal startValue(const QString &categoryLabel = QString()) const
void setStartValue(qreal min)

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

This property holds the low end of the first category on the axis.

Calls C++ function: double QtCharts::QCategoryAxis::startValue() const.

C++ documentation:

This property holds the low end of the first category on the axis.

Access functions:

qreal startValue(const QString &categoryLabel = QString()) const
void setStartValue(qreal min)

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

Returns a reference to the staticMetaObject field.

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

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

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

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

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

Reimplements: QValueAxis::type() const.

Calls C++ function: virtual QtCharts::QAbstractAxis::AxisType QtCharts::QCategoryAxis::type() const.

C++ documentation:

Reimplements: QValueAxis::type() const.

Returns the type of the axis.

Methods from Deref<Target = QValueAxis>

pub fn slot_apply_nice_numbers(&self) -> Receiver<()>[src]

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

Returns a built-in Qt slot QtCharts::QValueAxis::applyNiceNumbers that can be passed to qt_core::Signal::connect.

C++ documentation:

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 110^n, 2 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

See also setRange() and setTickCount().

pub fn min_changed(&self) -> Signal<(c_double,)>[src]

This signal is emitted when the minimum value of the axis, specified by min, changes.

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

C++ documentation:

This signal is emitted when the minimum value of the axis, specified by min, changes.

Note: Notifier signal for property min.

pub fn max_changed(&self) -> Signal<(c_double,)>[src]

This signal is emitted when the maximum value of the axis, specified by max, changes.

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

C++ documentation:

This signal is emitted when the maximum value of the axis, specified by max, changes.

Note: Notifier signal for property max.

pub fn range_changed(&self) -> Signal<(c_double, c_double)>[src]

This signal is emitted when the minimum or maximum value of the axis, specified by min and max, changes.

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

C++ documentation:

This signal is emitted when the minimum or maximum value of the axis, specified by min and max, changes.

pub fn tick_count_changed(&self) -> Signal<(c_int,)>[src]

This signal is emitted when the number of tick marks on the axis, specified by tickCount, changes.

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

C++ documentation:

This signal is emitted when the number of tick marks on the axis, specified by tickCount, changes.

Note: Notifier signal for property tickCount.

pub fn minor_tick_count_changed(&self) -> Signal<(c_int,)>[src]

This signal is emitted when the number of minor tick marks on the axis, specified by minorTickCount, changes.

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

C++ documentation:

This signal is emitted when the number of minor tick marks on the axis, specified by minorTickCount, changes.

Note: Notifier signal for property minorTickCount.

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

This signal is emitted when the format of axis labels changes.

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

C++ documentation:

This signal is emitted when the format of axis labels changes.

Note: Notifier signal for property labelFormat.

pub fn tick_interval_changed(&self) -> Signal<(c_double,)>[src]

This property holds the interval between dynamically placed tick marks and labels.

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

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

pub fn tick_anchor_changed(&self) -> Signal<(c_double,)>[src]

This property holds the base value where the dynamically placed tick marks and labels are started from.

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

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

pub fn tick_type_changed(&self) -> Signal<(TickType,)>[src]

This property holds the positioning method of tick and labels.

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

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

pub unsafe fn apply_nice_numbers(&mut self)[src]

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

Calls C++ function: [slot] void QtCharts::QValueAxis::applyNiceNumbers().

C++ documentation:

Modifies the current range and number of tick marks on the axis to look nice. The algorithm considers numbers that can be expressed as a form of 110^n, 2 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks.

See also setRange() and setTickCount().

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

This property holds the label format of the axis.

Calls C++ function: QString QtCharts::QValueAxis::labelFormat() const.

C++ documentation:

This property holds the label format of the axis.

The format string supports the following conversion specifiers, length modifiers, and flags provided by printf() in the standard C++ library: d, i, o, x, X, f, F, e, E, g, G, c.

If QChart::localizeNumbers is true, the supported specifiers are limited to: d, e, E, f, g, G, and i. Also, only the precision modifier is supported. The rest of the formatting comes from the default QLocale of the application.

Access functions:

QString labelFormat() const
void setLabelFormat(const QString &format)

Notifier signal:

void labelFormatChanged(const QString &format)

See also QString::asprintf().

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

This property holds the maximum value on the axis.

Calls C++ function: double QtCharts::QValueAxis::max() const.

C++ documentation:

This property holds the maximum value on the axis.

When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal max() const
void setMax(qreal max)

Notifier signal:

void maxChanged(qreal max)

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

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

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

This property holds the minimum value on the axis.

Calls C++ function: double QtCharts::QValueAxis::min() const.

C++ documentation:

This property holds the minimum value on the axis.

When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal min() const
void setMin(qreal min)

Notifier signal:

void minChanged(qreal min)

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

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Calls C++ function: int QtCharts::QValueAxis::minorTickCount() const.

C++ documentation:

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Access functions:

int minorTickCount() const
void setMinorTickCount(int count)

Notifier signal:

void minorTickCountChanged(int minorTickCount)

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

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

pub unsafe fn qt_metacast(
    &mut self,
    arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]

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

pub unsafe fn set_label_format(&mut self, format: impl CastInto<Ref<QString>>)[src]

This property holds the label format of the axis.

Calls C++ function: void QtCharts::QValueAxis::setLabelFormat(const QString& format).

C++ documentation:

This property holds the label format of the axis.

The format string supports the following conversion specifiers, length modifiers, and flags provided by printf() in the standard C++ library: d, i, o, x, X, f, F, e, E, g, G, c.

If QChart::localizeNumbers is true, the supported specifiers are limited to: d, e, E, f, g, G, and i. Also, only the precision modifier is supported. The rest of the formatting comes from the default QLocale of the application.

Access functions:

QString labelFormat() const
void setLabelFormat(const QString &format)

Notifier signal:

void labelFormatChanged(const QString &format)

See also QString::asprintf().

pub unsafe fn set_max(&mut self, max: c_double)[src]

This property holds the maximum value on the axis.

Calls C++ function: void QtCharts::QValueAxis::setMax(double max).

C++ documentation:

This property holds the maximum value on the axis.

When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal max() const
void setMax(qreal max)

Notifier signal:

void maxChanged(qreal max)

pub unsafe fn set_min(&mut self, min: c_double)[src]

This property holds the minimum value on the axis.

Calls C++ function: void QtCharts::QValueAxis::setMin(double min).

C++ documentation:

This property holds the minimum value on the axis.

When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.

Access functions:

qreal min() const
void setMin(qreal min)

Notifier signal:

void minChanged(qreal min)

pub unsafe fn set_minor_tick_count(&mut self, count: c_int)[src]

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Calls C++ function: void QtCharts::QValueAxis::setMinorTickCount(int count).

C++ documentation:

This property holds the number of minor tick marks on the axis. This indicates how many grid lines are drawn between major ticks on the chart. Labels are not drawn for minor ticks. The default value is 0.

Access functions:

int minorTickCount() const
void setMinorTickCount(int count)

Notifier signal:

void minorTickCountChanged(int minorTickCount)

pub unsafe fn set_range(&mut self, min: c_double, max: c_double)[src]

Sets the range from min to max on the axis. If min is greater than max, this function returns without making any changes.

Calls C++ function: void QtCharts::QValueAxis::setRange(double min, double max).

C++ documentation:

Sets the range from min to max on the axis. If min is greater than max, this function returns without making any changes.

pub unsafe fn set_tick_anchor(&mut self, anchor: c_double)[src]

This property holds the base value where the dynamically placed tick marks and labels are started from.

Calls C++ function: void QtCharts::QValueAxis::setTickAnchor(double anchor).

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

pub unsafe fn set_tick_count(&mut self, count: c_int)[src]

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Calls C++ function: void QtCharts::QValueAxis::setTickCount(int count).

C++ documentation:

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Access functions:

int tickCount() const
void setTickCount(int count)

Notifier signal:

void tickCountChanged(int tickCount)

pub unsafe fn set_tick_interval(&mut self, insterval: c_double)[src]

This property holds the interval between dynamically placed tick marks and labels.

Calls C++ function: void QtCharts::QValueAxis::setTickInterval(double insterval).

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

pub unsafe fn set_tick_type(&mut self, type_: TickType)[src]

This property holds the positioning method of tick and labels.

Calls C++ function: void QtCharts::QValueAxis::setTickType(QtCharts::QValueAxis::TickType type).

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

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

This property holds the base value where the dynamically placed tick marks and labels are started from.

Calls C++ function: double QtCharts::QValueAxis::tickAnchor() const.

C++ documentation:

This property holds the base value where the dynamically placed tick marks and labels are started from.

This property was introduced in Qt 5.12.

Access functions:

qreal tickAnchor() const
void setTickAnchor(qreal anchor)

Notifier signal:

void tickAnchorChanged(qreal anchor)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

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

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Calls C++ function: int QtCharts::QValueAxis::tickCount() const.

C++ documentation:

This property holds the number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.

Access functions:

int tickCount() const
void setTickCount(int count)

Notifier signal:

void tickCountChanged(int tickCount)

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

This property holds the interval between dynamically placed tick marks and labels.

Calls C++ function: double QtCharts::QValueAxis::tickInterval() const.

C++ documentation:

This property holds the interval between dynamically placed tick marks and labels.

This property was introduced in Qt 5.12.

Access functions:

qreal tickInterval() const
void setTickInterval(qreal insterval)

Notifier signal:

void tickIntervalChanged(qreal interval)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

pub unsafe fn tick_type(&self) -> TickType[src]

This property holds the positioning method of tick and labels.

Calls C++ function: QtCharts::QValueAxis::TickType QtCharts::QValueAxis::tickType() const.

C++ documentation:

This property holds the positioning method of tick and labels.

This property was introduced in Qt 5.12.

Access functions:

QValueAxis::TickType tickType() const
void setTickType(QValueAxis::TickType type)

Notifier signal:

void tickTypeChanged(QValueAxis::TickType type)

This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.12.2").

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

Reimplements: QAbstractAxis::type() const.

Calls C++ function: virtual QtCharts::QAbstractAxis::AxisType QtCharts::QValueAxis::type() const.

C++ documentation:

Reimplements: QAbstractAxis::type() const.

Returns the type of the axis.

Trait Implementations

impl Deref for QCategoryAxis[src]

type Target = QValueAxis

The resulting type after dereferencing.

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

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QCategoryAxis* ptr).

impl DerefMut for QCategoryAxis[src]

fn deref_mut(&mut self) -> &mut QValueAxis[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QCategoryAxis* ptr).

impl StaticUpcast<QValueAxis> for QCategoryAxis[src]

unsafe fn static_upcast(ptr: Ptr<QCategoryAxis>) -> Ptr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QCategoryAxis* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QCategoryAxis>) -> MutPtr<QValueAxis>[src]

Calls C++ function: QtCharts::QValueAxis* static_cast<QtCharts::QValueAxis*>(QtCharts::QCategoryAxis* ptr).

impl StaticUpcast<QAbstractAxis> for QCategoryAxis[src]

unsafe fn static_upcast(ptr: Ptr<QCategoryAxis>) -> Ptr<QAbstractAxis>[src]

Calls C++ function: QtCharts::QAbstractAxis* static_cast<QtCharts::QAbstractAxis*>(QtCharts::QCategoryAxis* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QCategoryAxis>) -> MutPtr<QAbstractAxis>[src]

Calls C++ function: QtCharts::QAbstractAxis* static_cast<QtCharts::QAbstractAxis*>(QtCharts::QCategoryAxis* ptr).

impl StaticUpcast<QObject> for QCategoryAxis[src]

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

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

unsafe fn static_upcast_mut(ptr: MutPtr<QCategoryAxis>) -> MutPtr<QObject>[src]

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

impl StaticDowncast<QCategoryAxis> for QValueAxis[src]

unsafe fn static_downcast(ptr: Ptr<QValueAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* static_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QValueAxis>) -> MutPtr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* static_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

impl StaticDowncast<QCategoryAxis> for QAbstractAxis[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* static_cast<QtCharts::QCategoryAxis*>(QtCharts::QAbstractAxis* ptr).

unsafe fn static_downcast_mut(
    ptr: MutPtr<QAbstractAxis>
) -> MutPtr<QCategoryAxis>
[src]

Calls C++ function: QtCharts::QCategoryAxis* static_cast<QtCharts::QCategoryAxis*>(QtCharts::QAbstractAxis* ptr).

impl StaticDowncast<QCategoryAxis> for QObject[src]

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

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

unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCategoryAxis>[src]

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

impl DynamicCast<QCategoryAxis> for QValueAxis[src]

unsafe fn dynamic_cast(ptr: Ptr<QValueAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* dynamic_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QValueAxis>) -> MutPtr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* dynamic_cast<QtCharts::QCategoryAxis*>(QtCharts::QValueAxis* ptr).

impl DynamicCast<QCategoryAxis> for QAbstractAxis[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractAxis>) -> Ptr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* dynamic_cast<QtCharts::QCategoryAxis*>(QtCharts::QAbstractAxis* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QAbstractAxis>) -> MutPtr<QCategoryAxis>[src]

Calls C++ function: QtCharts::QCategoryAxis* dynamic_cast<QtCharts::QCategoryAxis*>(QtCharts::QAbstractAxis* ptr).

impl DynamicCast<QCategoryAxis> for QObject[src]

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

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

unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCategoryAxis>[src]

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

impl CppDeletable for QCategoryAxis[src]

unsafe fn delete(&mut self)[src]

Destroys the object.

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

C++ documentation:

Destroys the object.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

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

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

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

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