[][src]Struct qt_widgets::QGraphicsDropShadowEffect

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

The QGraphicsDropShadowEffect class provides a drop shadow effect.

C++ class: QGraphicsDropShadowEffect.

C++ documentation:

The QGraphicsDropShadowEffect class provides a drop shadow effect.

A drop shadow effect renders the source with a drop shadow. The color of the drop shadow can be modified using the setColor() function. The drop shadow offset can be modified using the setOffset() function and the blur radius of the drop shadow can be changed with the setBlurRadius() function.

By default, the drop shadow is a semi-transparent dark gray (QColor(63, 63, 63, 180)) shadow, blurred with a radius of 1 at an offset of 8 pixels towards the lower right. The drop shadow offset is specified in device coordinates.

Methods

impl QGraphicsDropShadowEffect[src]

pub fn slot_set_offset(&self) -> Receiver<(*const QPointF,)>[src]

This property holds the shadow offset in pixels.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

pub fn slot_set_offset2(&self) -> Receiver<(c_double, c_double)>[src]

This property holds the shadow offset in pixels.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

pub fn slot_set_offset3(&self) -> Receiver<(c_double,)>[src]

This property holds the shadow offset in pixels.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

pub fn slot_set_x_offset(&self) -> Receiver<(c_double,)>[src]

This property holds the horizontal shadow offset in pixels.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setXOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the horizontal shadow offset in pixels.

By default, the horizontal shadow offset is 8 pixels.

Access functions:

qreal xOffset() const
void setXOffset(qreal dx)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also yOffset() and offset().

pub fn slot_set_y_offset(&self) -> Receiver<(c_double,)>[src]

This property holds the vertical shadow offset in pixels.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setYOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the vertical shadow offset in pixels.

By default, the vertical shadow offset is 8 pixels.

Access functions:

qreal yOffset() const
void setYOffset(qreal dy)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset() and offset().

pub fn slot_set_blur_radius(&self) -> Receiver<(c_double,)>[src]

This property holds the blur radius in pixels of the drop shadow.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setBlurRadius that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the blur radius in pixels of the drop shadow.

Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.

By default, the blur radius is 1 pixel.

Access functions:

qreal blurRadius() const
void setBlurRadius(qreal blurRadius)

Notifier signal:

void blurRadiusChanged(qreal blurRadius)

See also color() and offset().

pub fn slot_set_color(&self) -> Receiver<(*const QColor,)>[src]

This property holds the color of the drop shadow.

Returns a built-in Qt slot QGraphicsDropShadowEffect::setColor that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds the color of the drop shadow.

By default, the drop color is a semi-transparent dark gray (QColor(63, 63, 63, 180)).

Access functions:

QColor color() const
void setColor(const QColor &color)

Notifier signal:

void colorChanged(const QColor &color)

See also offset() and blurRadius().

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

This signal is emitted whenever the effect's shadow offset changes. The offset parameter holds the effect's new shadow offset.

Returns a built-in Qt signal QGraphicsDropShadowEffect::offsetChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted whenever the effect's shadow offset changes. The offset parameter holds the effect's new shadow offset.

Note: Notifier signal for property offset. Notifier signal for property xOffset. Notifier signal for property yOffset.

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

This signal is emitted whenever the effect's blur radius changes. The blurRadius parameter holds the effect's new blur radius.

Returns a built-in Qt signal QGraphicsDropShadowEffect::blurRadiusChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted whenever the effect's blur radius changes. The blurRadius parameter holds the effect's new blur radius.

Note: Notifier signal for property blurRadius.

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

This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.

Returns a built-in Qt signal QGraphicsDropShadowEffect::colorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted whenever the effect's color changes. The color parameter holds the effect's new color.

Note: Notifier signal for property color.

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

This property holds the blur radius in pixels of the drop shadow.

Calls C++ function: double QGraphicsDropShadowEffect::blurRadius() const.

C++ documentation:

This property holds the blur radius in pixels of the drop shadow.

Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.

By default, the blur radius is 1 pixel.

Access functions:

qreal blurRadius() const
void setBlurRadius(qreal blurRadius)

Notifier signal:

void blurRadiusChanged(qreal blurRadius)

See also color() and offset().

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

Reimplemented from QGraphicsEffect::boundingRectFor().

Calls C++ function: virtual QRectF QGraphicsDropShadowEffect::boundingRectFor(const QRectF& rect) const.

C++ documentation:

Reimplemented from QGraphicsEffect::boundingRectFor().

pub unsafe fn color(&self) -> CppBox<QColor>[src]

This property holds the color of the drop shadow.

Calls C++ function: QColor QGraphicsDropShadowEffect::color() const.

C++ documentation:

This property holds the color of the drop shadow.

By default, the drop color is a semi-transparent dark gray (QColor(63, 63, 63, 180)).

Access functions:

QColor color() const
void setColor(const QColor &color)

Notifier signal:

void colorChanged(const QColor &color)

See also offset() and blurRadius().

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

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

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

Constructs a new QGraphicsDropShadowEffect instance. The parent parameter is passed to QGraphicsEffect's constructor.

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

C++ documentation:

Constructs a new QGraphicsDropShadowEffect instance. The parent parameter is passed to QGraphicsEffect's constructor.

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

The QGraphicsDropShadowEffect class provides a drop shadow effect.

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

C++ documentation:

The QGraphicsDropShadowEffect class provides a drop shadow effect.

A drop shadow effect renders the source with a drop shadow. The color of the drop shadow can be modified using the setColor() function. The drop shadow offset can be modified using the setOffset() function and the blur radius of the drop shadow can be changed with the setBlurRadius() function.

By default, the drop shadow is a semi-transparent dark gray (QColor(63, 63, 63, 180)) shadow, blurred with a radius of 1 at an offset of 8 pixels towards the lower right. The drop shadow offset is specified in device coordinates.

pub unsafe fn offset(&self) -> CppBox<QPointF>[src]

This property holds the shadow offset in pixels.

Calls C++ function: QPointF QGraphicsDropShadowEffect::offset() const.

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

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

Calls C++ function: virtual int QGraphicsDropShadowEffect::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* QGraphicsDropShadowEffect::qt_metacast(const char* arg1).

pub unsafe fn set_blur_radius(&self, blur_radius: c_double)[src]

This property holds the blur radius in pixels of the drop shadow.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setBlurRadius(double blurRadius).

C++ documentation:

This property holds the blur radius in pixels of the drop shadow.

Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.

By default, the blur radius is 1 pixel.

Access functions:

qreal blurRadius() const
void setBlurRadius(qreal blurRadius)

Notifier signal:

void blurRadiusChanged(qreal blurRadius)

See also color() and offset().

pub unsafe fn set_color(&self, color: impl CastInto<Ref<QColor>>)[src]

This property holds the color of the drop shadow.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setColor(const QColor& color).

C++ documentation:

This property holds the color of the drop shadow.

By default, the drop color is a semi-transparent dark gray (QColor(63, 63, 63, 180)).

Access functions:

QColor color() const
void setColor(const QColor &color)

Notifier signal:

void colorChanged(const QColor &color)

See also offset() and blurRadius().

pub unsafe fn set_offset_q_point_f(&self, ofs: impl CastInto<Ref<QPointF>>)[src]

This property holds the shadow offset in pixels.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setOffset(const QPointF& ofs).

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

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

This property holds the shadow offset in pixels.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setOffset(double dx, double dy).

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

pub unsafe fn set_offset_double(&self, d: c_double)[src]

This property holds the shadow offset in pixels.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setOffset(double d).

C++ documentation:

This property holds the shadow offset in pixels.

By default, the offset is 8 pixels towards the lower right.

The offset is given in device coordinates, which means it is unaffected by scale.

Access functions:

QPointF offset() const
void setOffset(const QPointF &ofs)
void setOffset(qreal dx, qreal dy)
void setOffset(qreal d)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset(), yOffset(), blurRadius(), and color().

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

This property holds the horizontal shadow offset in pixels.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setXOffset(double dx).

C++ documentation:

This property holds the horizontal shadow offset in pixels.

By default, the horizontal shadow offset is 8 pixels.

Access functions:

qreal xOffset() const
void setXOffset(qreal dx)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also yOffset() and offset().

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

This property holds the vertical shadow offset in pixels.

Calls C++ function: [slot] void QGraphicsDropShadowEffect::setYOffset(double dy).

C++ documentation:

This property holds the vertical shadow offset in pixels.

By default, the vertical shadow offset is 8 pixels.

Access functions:

qreal yOffset() const
void setYOffset(qreal dy)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset() and offset().

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

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

This property holds the horizontal shadow offset in pixels.

Calls C++ function: double QGraphicsDropShadowEffect::xOffset() const.

C++ documentation:

This property holds the horizontal shadow offset in pixels.

By default, the horizontal shadow offset is 8 pixels.

Access functions:

qreal xOffset() const
void setXOffset(qreal dx)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also yOffset() and offset().

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

This property holds the vertical shadow offset in pixels.

Calls C++ function: double QGraphicsDropShadowEffect::yOffset() const.

C++ documentation:

This property holds the vertical shadow offset in pixels.

By default, the vertical shadow offset is 8 pixels.

Access functions:

qreal yOffset() const
void setYOffset(qreal dy)

Notifier signal:

void offsetChanged(const QPointF &offset)

See also xOffset() and offset().

Methods from Deref<Target = QGraphicsEffect>

pub fn slot_set_enabled(&self) -> Receiver<(bool,)>[src]

This property holds whether the effect is enabled or not.

Returns a built-in Qt slot QGraphicsEffect::setEnabled that can be passed to qt_core::Signal::connect.

C++ documentation:

This property holds whether the effect is enabled or not.

If an effect is disabled, the source will be rendered with as normal, with no interference from the effect. If the effect is enabled, the source will be rendered with the effect applied.

This property is enabled by default.

Using this property, you can disable certain effects on slow platforms, in order to ensure that the user interface is responsive.

Access functions:

bool isEnabled() const
void setEnabled(bool enable)

Notifier signal:

void enabledChanged(bool enabled)

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

Schedules a redraw of the effect. Call this function whenever the effect needs to be redrawn. This function does not trigger a redraw of the source.

Returns a built-in Qt slot QGraphicsEffect::update that can be passed to qt_core::Signal::connect.

C++ documentation:

Schedules a redraw of the effect. Call this function whenever the effect needs to be redrawn. This function does not trigger a redraw of the source.

See also updateBoundingRect().

pub fn enabled_changed(&self) -> Signal<(bool,)>[src]

This signal is emitted whenever the effect is enabled or disabled. The enabled parameter holds the effects's new enabled state.

Returns a built-in Qt signal QGraphicsEffect::enabledChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted whenever the effect is enabled or disabled. The enabled parameter holds the effects's new enabled state.

Note: Notifier signal for property enabled.

See also isEnabled().

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

Returns the effective bounding rectangle for this effect, i.e., the bounding rectangle of the source in device coordinates, adjusted by any margins applied by the effect itself.

Calls C++ function: QRectF QGraphicsEffect::boundingRect() const.

C++ documentation:

Returns the effective bounding rectangle for this effect, i.e., the bounding rectangle of the source in device coordinates, adjusted by any margins applied by the effect itself.

See also boundingRectFor() and updateBoundingRect().

pub unsafe fn bounding_rect_for(
    &self,
    source_rect: impl CastInto<Ref<QRectF>>
) -> CppBox<QRectF>
[src]

Returns the effective bounding rectangle for this effect, given the provided rect in the device coordinates. When writing you own custom effect, you must call updateBoundingRect() whenever any parameters are changed that may cause this this function to return a different value.

Calls C++ function: virtual QRectF QGraphicsEffect::boundingRectFor(const QRectF& sourceRect) const.

C++ documentation:

Returns the effective bounding rectangle for this effect, given the provided rect in the device coordinates. When writing you own custom effect, you must call updateBoundingRect() whenever any parameters are changed that may cause this this function to return a different value.

See also sourceBoundingRect().

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

This property holds whether the effect is enabled or not.

Calls C++ function: bool QGraphicsEffect::isEnabled() const.

C++ documentation:

This property holds whether the effect is enabled or not.

If an effect is disabled, the source will be rendered with as normal, with no interference from the effect. If the effect is enabled, the source will be rendered with the effect applied.

This property is enabled by default.

Using this property, you can disable certain effects on slow platforms, in order to ensure that the user interface is responsive.

Access functions:

bool isEnabled() const
void setEnabled(bool enable)

Notifier signal:

void enabledChanged(bool enabled)

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

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

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

Calls C++ function: virtual int QGraphicsEffect::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* QGraphicsEffect::qt_metacast(const char* arg1).

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

This property holds whether the effect is enabled or not.

Calls C++ function: [slot] void QGraphicsEffect::setEnabled(bool enable).

C++ documentation:

This property holds whether the effect is enabled or not.

If an effect is disabled, the source will be rendered with as normal, with no interference from the effect. If the effect is enabled, the source will be rendered with the effect applied.

This property is enabled by default.

Using this property, you can disable certain effects on slow platforms, in order to ensure that the user interface is responsive.

Access functions:

bool isEnabled() const
void setEnabled(bool enable)

Notifier signal:

void enabledChanged(bool enabled)

pub unsafe fn update(&self)[src]

Schedules a redraw of the effect. Call this function whenever the effect needs to be redrawn. This function does not trigger a redraw of the source.

Calls C++ function: [slot] void QGraphicsEffect::update().

C++ documentation:

Schedules a redraw of the effect. Call this function whenever the effect needs to be redrawn. This function does not trigger a redraw of the source.

See also updateBoundingRect().

Trait Implementations

impl CppDeletable for QGraphicsDropShadowEffect[src]

unsafe fn delete(&self)[src]

Destroys the effect.

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

C++ documentation:

Destroys the effect.

impl Deref for QGraphicsDropShadowEffect[src]

type Target = QGraphicsEffect

The resulting type after dereferencing.

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

Calls C++ function: QGraphicsEffect* static_cast<QGraphicsEffect*>(QGraphicsDropShadowEffect* ptr).

impl DynamicCast<QGraphicsDropShadowEffect> for QGraphicsEffect[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QGraphicsEffect>
) -> Ptr<QGraphicsDropShadowEffect>
[src]

Calls C++ function: QGraphicsDropShadowEffect* dynamic_cast<QGraphicsDropShadowEffect*>(QGraphicsEffect* ptr).

impl DynamicCast<QGraphicsDropShadowEffect> for QObject[src]

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

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

impl StaticDowncast<QGraphicsDropShadowEffect> for QGraphicsEffect[src]

unsafe fn static_downcast(
    ptr: Ptr<QGraphicsEffect>
) -> Ptr<QGraphicsDropShadowEffect>
[src]

Calls C++ function: QGraphicsDropShadowEffect* static_cast<QGraphicsDropShadowEffect*>(QGraphicsEffect* ptr).

impl StaticDowncast<QGraphicsDropShadowEffect> for QObject[src]

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

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

impl StaticUpcast<QGraphicsEffect> for QGraphicsDropShadowEffect[src]

unsafe fn static_upcast(
    ptr: Ptr<QGraphicsDropShadowEffect>
) -> Ptr<QGraphicsEffect>
[src]

Calls C++ function: QGraphicsEffect* static_cast<QGraphicsEffect*>(QGraphicsDropShadowEffect* ptr).

impl StaticUpcast<QObject> for QGraphicsDropShadowEffect[src]

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

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