[−][src]Struct qt_charts::QPercentBarSeries
C++ class: QtCharts::QPercentBarSeries
.
Methods
impl QPercentBarSeries
[src]
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QPercentBarSeries::metaObject() const
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QPercentBarSeries>
[src]
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QPercentBarSeries>
Calls C++ function: [constructor] void QtCharts::QPercentBarSeries::QPercentBarSeries(QObject* parent = …)
.
pub unsafe fn new_0a() -> CppBox<QPercentBarSeries>
[src]
Calls C++ function: [constructor] void QtCharts::QPercentBarSeries::QPercentBarSeries()
.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int QtCharts::QPercentBarSeries::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]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* QtCharts::QPercentBarSeries::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: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString QtCharts::QPercentBarSeries::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]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString QtCharts::QPercentBarSeries::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn type_(&self) -> SeriesType
[src]
Reimplements: QAbstractSeries::type() const.
Calls C++ function: virtual QtCharts::QAbstractSeries::SeriesType QtCharts::QPercentBarSeries::type() const
.
Reimplements: QAbstractSeries::type() const.
Returns the vertical percent bar series.
Methods from Deref<Target = QAbstractBarSeries>
pub fn clicked(&self) -> Signal<(c_int, *mut QBarSet)>
[src]
This signal is emitted when the user clicks the bar specified by index in the bar set specified by barset.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::clicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user clicks the bar specified by index in the bar set specified by barset.
pub fn hovered(&self) -> Signal<(bool, c_int, *mut QBarSet)>
[src]
This signal is emitted when a mouse is hovered over the bar specified by index in the bar set specified by barset. When the mouse moves over the bar, status turns true
, and when the mouse moves away again, it turns false
.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::hovered
that can be passed to qt_core::Signal::connect
.
This signal is emitted when a mouse is hovered over the bar specified by index in the bar set specified by barset. When the mouse moves over the bar, status turns true
, and when the mouse moves away again, it turns false
.
pub fn pressed(&self) -> Signal<(c_int, *mut QBarSet)>
[src]
This signal is emitted when the user clicks the bar specified by index in the bar set specified by barset and holds down the mouse button.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::pressed
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user clicks the bar specified by index in the bar set specified by barset and holds down the mouse button.
pub fn released(&self) -> Signal<(c_int, *mut QBarSet)>
[src]
This signal is emitted when the user releases the mouse press on the bar specified by index in the bar set specified by barset.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::released
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user releases the mouse press on the bar specified by index in the bar set specified by barset.
pub fn double_clicked(&self) -> Signal<(c_int, *mut QBarSet)>
[src]
This signal is emitted when the user double-clicks the bar specified by index in the bar set specified by barset.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::doubleClicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user double-clicks the bar specified by index in the bar set specified by barset.
pub fn count_changed(&self) -> Signal<()>
[src]
This signal is emitted when the number of bar sets is changed, for example by append() or remove().
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::countChanged
that can be passed to qt_core::Signal::connect
.
pub fn labels_visible_changed(&self) -> Signal<()>
[src]
This signal is emitted when the labels' visibility changes.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::labelsVisibleChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the labels' visibility changes.
Note: Notifier signal for property labelsVisible.
See also isLabelsVisible() and setLabelsVisible().
pub fn labels_format_changed(&self) -> Signal<(*const QString,)>
[src]
This signal is emitted when the format of data value labels changes.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::labelsFormatChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the format of data value labels changes.
Note: Notifier signal for property labelsFormat.
pub fn labels_position_changed(&self) -> Signal<(LabelsPosition,)>
[src]
This signal is emitted when the position of value labels changes.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::labelsPositionChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the position of value labels changes.
Note: Notifier signal for property labelsPosition.
pub fn labels_angle_changed(&self) -> Signal<(c_double,)>
[src]
This signal is emitted when the angle of the value labels changes.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::labelsAngleChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the angle of the value labels changes.
Note: Notifier signal for property labelsAngle.
pub fn labels_precision_changed(&self) -> Signal<(c_int,)>
[src]
This signal is emitted when the precision of the value labels changes.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::labelsPrecisionChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the precision of the value labels changes.
Note: Notifier signal for property labelsPrecision.
pub fn barsets_added(&self) -> Signal<(*const QListOfQBarSet,)>
[src]
This signal is emitted when the bar sets specified by sets are added to the series.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::barsetsAdded
that can be passed to qt_core::Signal::connect
.
pub fn barsets_removed(&self) -> Signal<(*const QListOfQBarSet,)>
[src]
This signal is emitted when the bar sets specified by sets are removed from the series.
Returns a built-in Qt signal QtCharts::QAbstractBarSeries::barsetsRemoved
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the bar sets specified by sets are removed from the series.
See also remove().
pub unsafe fn append_q_bar_set(
&mut self,
set: impl CastInto<MutPtr<QBarSet>>
) -> bool
[src]
&mut self,
set: impl CastInto<MutPtr<QBarSet>>
) -> bool
Adds a set of bars specified by set to the bar series and takes ownership of it. If the set is null or it already belongs to the series, it will not be appended. Returns true
if appending succeeded.
Calls C++ function: bool QtCharts::QAbstractBarSeries::append(QtCharts::QBarSet* set)
.
Adds a set of bars specified by set to the bar series and takes ownership of it. If the set is null or it already belongs to the series, it will not be appended. Returns true
if appending succeeded.
pub unsafe fn append_q_list_of_q_bar_set(
&mut self,
sets: impl CastInto<Ref<QListOfQBarSet>>
) -> bool
[src]
&mut self,
sets: impl CastInto<Ref<QListOfQBarSet>>
) -> bool
Adds a list of bar sets specified by sets to a bar series and takes ownership of the sets. Returns true
if all sets were appended successfully. If any of the sets is null or was previously appended to the series, nothing is appended and this function returns false
. If any of the sets appears in the list more than once, nothing is appended and this function returns false
.
Calls C++ function: bool QtCharts::QAbstractBarSeries::append(QList<QtCharts::QBarSet*> sets)
.
Adds a list of bar sets specified by sets to a bar series and takes ownership of the sets. Returns true
if all sets were appended successfully. If any of the sets is null or was previously appended to the series, nothing is appended and this function returns false
. If any of the sets appears in the list more than once, nothing is appended and this function returns false
.
pub unsafe fn bar_sets(&self) -> CppBox<QListOfQBarSet>
[src]
Returns a list of bar sets in a bar series. Keeps the ownership of the bar sets.
Calls C++ function: QList<QtCharts::QBarSet*> QtCharts::QAbstractBarSeries::barSets() const
.
Returns a list of bar sets in a bar series. Keeps the ownership of the bar sets.
pub unsafe fn bar_width(&self) -> c_double
[src]
This property holds the width of the bars of the series.
Calls C++ function: double QtCharts::QAbstractBarSeries::barWidth() const
.
This property holds the width of the bars of the series.
The unit of width is the unit of the x-axis. The minimum width for bars is zero, and negative values are treated as zero. Setting the width to zero means that the width of the bar on the screen is one pixel regardless of the scale of the x-axis. Bars wider than zero are scaled using the x-axis scale.
Note: When used with QBarSeries, this value specifies the width of a group of bars instead of that of a single bar.
Access functions:
qreal | barWidth() const |
void | setBarWidth(qreal width) |
See also QBarSeries.
pub unsafe fn clear(&mut self)
[src]
Removes all bar sets from the series and permanently deletes them.
Calls C++ function: void QtCharts::QAbstractBarSeries::clear()
.
Removes all bar sets from the series and permanently deletes them.
pub unsafe fn count(&self) -> c_int
[src]
This property holds the number of bar sets in a bar series.
Calls C++ function: int QtCharts::QAbstractBarSeries::count() const
.
This property holds the number of bar sets in a bar series.
Access functions:
int | count() const |
Notifier signal:
void | countChanged() |
pub unsafe fn insert(
&mut self,
index: c_int,
set: impl CastInto<MutPtr<QBarSet>>
) -> bool
[src]
&mut self,
index: c_int,
set: impl CastInto<MutPtr<QBarSet>>
) -> bool
Inserts a bar set specified by set to a series at the position specified by index and takes ownership of the set. If the set is null or already belongs to the series, it will not be appended. Returns true
if inserting succeeds.
Calls C++ function: bool QtCharts::QAbstractBarSeries::insert(int index, QtCharts::QBarSet* set)
.
Inserts a bar set specified by set to a series at the position specified by index and takes ownership of the set. If the set is null or already belongs to the series, it will not be appended. Returns true
if inserting succeeds.
pub unsafe fn is_labels_visible(&self) -> bool
[src]
Returns the visibility of labels.
Calls C++ function: bool QtCharts::QAbstractBarSeries::isLabelsVisible() const
.
Returns the visibility of labels.
Note: Getter function for property labelsVisible.
pub unsafe fn labels_angle(&self) -> c_double
[src]
This property holds the angle of the value labels in degrees.
Calls C++ function: double QtCharts::QAbstractBarSeries::labelsAngle() const
.
This property holds the angle of the value labels in degrees.
Access functions:
qreal | labelsAngle() const |
void | setLabelsAngle(qreal angle) |
Notifier signal:
void | labelsAngleChanged(qreal angle) |
pub unsafe fn labels_format(&self) -> CppBox<QString>
[src]
This property holds the format used for showing labels in a bar series.
Calls C++ function: QString QtCharts::QAbstractBarSeries::labelsFormat() const
.
This property holds the format used for showing labels in a bar series.
QAbstractBarSeries supports the following format tag:
@value | The value of the bar |
For example, the following usage of the format tags would produce labels that show the value followed by the unit (u):
series->setLabelsFormat("@value u");
By default, the labels show the value of the bar. For the percent bar series, % is added after the value. The labels are shown on the plot area, whereas labels on the edge of the plot area are cut. If the bars are close to each other, the labels may overlap.
Access functions:
QString | labelsFormat() const |
void | setLabelsFormat(const QString &format) |
Notifier signal:
void | labelsFormatChanged(const QString &format) |
See also labelsVisible, labelsPosition, and labelsPrecision.
pub unsafe fn labels_position(&self) -> LabelsPosition
[src]
This property holds the position of value labels.
Calls C++ function: QtCharts::QAbstractBarSeries::LabelsPosition QtCharts::QAbstractBarSeries::labelsPosition() const
.
This property holds the position of value labels.
Access functions:
QAbstractBarSeries::LabelsPosition | labelsPosition() const |
void | setLabelsPosition(QAbstractBarSeries::LabelsPosition position) |
Notifier signal:
void | labelsPositionChanged(QAbstractBarSeries::LabelsPosition position) |
See also labelsVisible and labelsFormat.
pub unsafe fn labels_precision(&self) -> c_int
[src]
This property holds the maximum amount of significant digits shown in value labels.
Calls C++ function: int QtCharts::QAbstractBarSeries::labelsPrecision() const
.
This property holds the maximum amount of significant digits shown in value labels.
Default value is 6.
Access functions:
int | labelsPrecision() const |
void | setLabelsPrecision(int precision) |
Notifier signal:
void | labelsPrecisionChanged(int precision) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.11.3", cpp_lib_version="5.12.2")
.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QAbstractBarSeries::metaObject() const
.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int QtCharts::QAbstractBarSeries::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]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* QtCharts::QAbstractBarSeries::qt_metacast(const char* arg1)
.
pub unsafe fn remove(&mut self, set: impl CastInto<MutPtr<QBarSet>>) -> bool
[src]
Removes the bar set specified by set from the series and permanently deletes it if the removal succeeds. Returns true
if the set was removed.
Calls C++ function: bool QtCharts::QAbstractBarSeries::remove(QtCharts::QBarSet* set)
.
Removes the bar set specified by set from the series and permanently deletes it if the removal succeeds. Returns true
if the set was removed.
pub unsafe fn set_bar_width(&mut self, width: c_double)
[src]
Sets the width of the bars of the series to width.
Calls C++ function: void QtCharts::QAbstractBarSeries::setBarWidth(double width)
.
pub unsafe fn set_labels_angle(&mut self, angle: c_double)
[src]
This property holds the angle of the value labels in degrees.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsAngle(double angle)
.
This property holds the angle of the value labels in degrees.
Access functions:
qreal | labelsAngle() const |
void | setLabelsAngle(qreal angle) |
Notifier signal:
void | labelsAngleChanged(qreal angle) |
pub unsafe fn set_labels_format(&mut self, format: impl CastInto<Ref<QString>>)
[src]
This property holds the format used for showing labels in a bar series.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsFormat(const QString& format)
.
This property holds the format used for showing labels in a bar series.
QAbstractBarSeries supports the following format tag:
@value | The value of the bar |
For example, the following usage of the format tags would produce labels that show the value followed by the unit (u):
series->setLabelsFormat("@value u");
By default, the labels show the value of the bar. For the percent bar series, % is added after the value. The labels are shown on the plot area, whereas labels on the edge of the plot area are cut. If the bars are close to each other, the labels may overlap.
Access functions:
QString | labelsFormat() const |
void | setLabelsFormat(const QString &format) |
Notifier signal:
void | labelsFormatChanged(const QString &format) |
See also labelsVisible, labelsPosition, and labelsPrecision.
pub unsafe fn set_labels_position(&mut self, position: LabelsPosition)
[src]
This property holds the position of value labels.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsPosition(QtCharts::QAbstractBarSeries::LabelsPosition position)
.
This property holds the position of value labels.
Access functions:
QAbstractBarSeries::LabelsPosition | labelsPosition() const |
void | setLabelsPosition(QAbstractBarSeries::LabelsPosition position) |
Notifier signal:
void | labelsPositionChanged(QAbstractBarSeries::LabelsPosition position) |
See also labelsVisible and labelsFormat.
pub unsafe fn set_labels_precision(&mut self, precision: c_int)
[src]
This property holds the maximum amount of significant digits shown in value labels.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsPrecision(int precision)
.
This property holds the maximum amount of significant digits shown in value labels.
Default value is 6.
Access functions:
int | labelsPrecision() const |
void | setLabelsPrecision(int precision) |
Notifier signal:
void | labelsPrecisionChanged(int precision) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.11.3", cpp_lib_version="5.12.2")
.
pub unsafe fn set_labels_visible_1a(&mut self, visible: bool)
[src]
Sets the visibility of labels in a bar series to visible.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsVisible(bool visible = …)
.
Sets the visibility of labels in a bar series to visible.
Note: Setter function for property labelsVisible.
See also isLabelsVisible().
pub unsafe fn set_labels_visible_0a(&mut self)
[src]
Sets the visibility of labels in a bar series to visible.
Calls C++ function: void QtCharts::QAbstractBarSeries::setLabelsVisible()
.
Sets the visibility of labels in a bar series to visible.
Note: Setter function for property labelsVisible.
See also isLabelsVisible().
pub unsafe fn take(&mut self, set: impl CastInto<MutPtr<QBarSet>>) -> bool
[src]
Takes a single set from the series. Does not delete the bar set object.
Calls C++ function: bool QtCharts::QAbstractBarSeries::take(QtCharts::QBarSet* set)
.
Takes a single set from the series. Does not delete the bar set object.
Note: The series remains the barset's parent object. You must set the parent object to take full ownership.
Returns true
if the take operation succeeds.
Trait Implementations
impl CppDeletable for QPercentBarSeries
[src]
unsafe fn delete(&mut self)
[src]
Removes the bar series from the chart.
Calls C++ function: virtual [destructor] void QtCharts::QPercentBarSeries::~QPercentBarSeries()
.
Removes the bar series from the chart.
impl Deref for QPercentBarSeries
[src]
type Target = QAbstractBarSeries
The resulting type after dereferencing.
fn deref(&self) -> &QAbstractBarSeries
[src]
Calls C++ function: QtCharts::QAbstractBarSeries* static_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QPercentBarSeries* ptr)
.
impl DerefMut for QPercentBarSeries
[src]
fn deref_mut(&mut self) -> &mut QAbstractBarSeries
[src]
Calls C++ function: QtCharts::QAbstractBarSeries* static_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QPercentBarSeries* ptr)
.
impl DynamicCast<QPercentBarSeries> for QAbstractBarSeries
[src]
unsafe fn dynamic_cast(ptr: Ptr<QAbstractBarSeries>) -> Ptr<QPercentBarSeries>
[src]
Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractBarSeries* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QAbstractBarSeries>
) -> MutPtr<QPercentBarSeries>
[src]
ptr: MutPtr<QAbstractBarSeries>
) -> MutPtr<QPercentBarSeries>
Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractBarSeries* 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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QAbstractSeries>
) -> MutPtr<QPercentBarSeries>
[src]
ptr: MutPtr<QAbstractSeries>
) -> MutPtr<QPercentBarSeries>
Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractSeries* ptr)
.
impl DynamicCast<QPercentBarSeries> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPercentBarSeries>
[src]
Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QPercentBarSeries>
[src]
Calls C++ function: QtCharts::QPercentBarSeries* dynamic_cast<QtCharts::QPercentBarSeries*>(QObject* ptr)
.
impl StaticDowncast<QPercentBarSeries> for QAbstractBarSeries
[src]
unsafe fn static_downcast(
ptr: Ptr<QAbstractBarSeries>
) -> Ptr<QPercentBarSeries>
[src]
ptr: Ptr<QAbstractBarSeries>
) -> Ptr<QPercentBarSeries>
Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractBarSeries* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QAbstractBarSeries>
) -> MutPtr<QPercentBarSeries>
[src]
ptr: MutPtr<QAbstractBarSeries>
) -> MutPtr<QPercentBarSeries>
Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractBarSeries* 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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QAbstractSeries>
) -> MutPtr<QPercentBarSeries>
[src]
ptr: MutPtr<QAbstractSeries>
) -> MutPtr<QPercentBarSeries>
Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QtCharts::QAbstractSeries* ptr)
.
impl StaticDowncast<QPercentBarSeries> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPercentBarSeries>
[src]
Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QPercentBarSeries>
[src]
Calls C++ function: QtCharts::QPercentBarSeries* static_cast<QtCharts::QPercentBarSeries*>(QObject* ptr)
.
impl StaticUpcast<QAbstractBarSeries> for QPercentBarSeries
[src]
unsafe fn static_upcast(ptr: Ptr<QPercentBarSeries>) -> Ptr<QAbstractBarSeries>
[src]
Calls C++ function: QtCharts::QAbstractBarSeries* static_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QPercentBarSeries* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QPercentBarSeries>
) -> MutPtr<QAbstractBarSeries>
[src]
ptr: MutPtr<QPercentBarSeries>
) -> MutPtr<QAbstractBarSeries>
Calls C++ function: QtCharts::QAbstractBarSeries* static_cast<QtCharts::QAbstractBarSeries*>(QtCharts::QPercentBarSeries* 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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QPercentBarSeries>
) -> MutPtr<QAbstractSeries>
[src]
ptr: MutPtr<QPercentBarSeries>
) -> MutPtr<QAbstractSeries>
Calls C++ function: QtCharts::QAbstractSeries* static_cast<QtCharts::QAbstractSeries*>(QtCharts::QPercentBarSeries* ptr)
.
impl StaticUpcast<QObject> for QPercentBarSeries
[src]
unsafe fn static_upcast(ptr: Ptr<QPercentBarSeries>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QPercentBarSeries* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QPercentBarSeries>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QPercentBarSeries* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QPercentBarSeries
impl Send for QPercentBarSeries
impl Sync for QPercentBarSeries
impl Unpin for QPercentBarSeries
impl UnwindSafe for QPercentBarSeries
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,