[][src]Struct qt_3d_render::QBlitFramebuffer

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

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.

C++ class: Qt3DRender::QBlitFramebuffer.

C++ documentation:

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.

This node inserts a glBlitFrameBuffer or an equivalent into the command stream. This provides a more efficient method for copying rectangles between textures or surface backbuffers wrapped by QRenderTarget than drawing textured quads. It also supports scaling with the specified interpolation method.

Note: In practice the QBlitFramebuffer node will often be used in combination with QNoDraw since a blit should not involve issuing draw calls for any entities.

Methods

impl QBlitFramebuffer[src]

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::sourceChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

Qt3DRender::QRenderTarget *source() const
void setSource(Qt3DRender::QRenderTarget *source)

Notifier signal:

void sourceChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::destinationChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

Qt3DRender::QRenderTarget *destination() const
void setDestination(Qt3DRender::QRenderTarget *destination)

Notifier signal:

void destinationChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::sourceRectChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

QRectF sourceRect() const
void setSourceRect(const QRectF &inputRect)

Notifier signal:

void sourceRectChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::destinationRectChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

QRectF destinationRect() const
void setDestinationRect(const QRectF &outputRect)

Notifier signal:

void destinationRectChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::sourceAttachmentPointChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

Qt3DRender::QRenderTargetOutput::AttachmentPoint sourceAttachmentPoint() const
void setSourceAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint sourceAttachmentPoint)

Notifier signal:

void sourceAttachmentPointChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::destinationAttachmentPointChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

Qt3DRender::QRenderTargetOutput::AttachmentPoint destinationAttachmentPoint() const
void setDestinationAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint destinationAttachmentPoint)

Notifier signal:

void destinationAttachmentPointChanged()

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

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

Access functions:

Returns a built-in Qt signal Qt3DRender::QBlitFramebuffer::interpolationMethodChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Access functions:

Qt3DRender::QBlitFramebuffer::InterpolationMethod interpolationMethod() const
void setInterpolationMethod(Qt3DRender::QBlitFramebuffer::InterpolationMethod interpolationMethod)

Notifier signal:

void interpolationMethodChanged()

pub unsafe fn destination(&self) -> QPtr<QRenderTarget>[src]

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

Access functions:

Calls C++ function: Qt3DRender::QRenderTarget* Qt3DRender::QBlitFramebuffer::destination() const.

C++ documentation:

Access functions:

Qt3DRender::QRenderTarget *destination() const
void setDestination(Qt3DRender::QRenderTarget *destination)

Notifier signal:

void destinationChanged()

pub unsafe fn destination_attachment_point(&self) -> AttachmentPoint[src]

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

Access functions:

Calls C++ function: Qt3DRender::QRenderTargetOutput::AttachmentPoint Qt3DRender::QBlitFramebuffer::destinationAttachmentPoint() const.

C++ documentation:

Access functions:

Qt3DRender::QRenderTargetOutput::AttachmentPoint destinationAttachmentPoint() const
void setDestinationAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint destinationAttachmentPoint)

Notifier signal:

void destinationAttachmentPointChanged()

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

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

Access functions:

Calls C++ function: QRectF Qt3DRender::QBlitFramebuffer::destinationRect() const.

C++ documentation:

Access functions:

QRectF destinationRect() const
void setDestinationRect(const QRectF &outputRect)

Notifier signal:

void destinationRectChanged()

pub unsafe fn interpolation_method(&self) -> InterpolationMethod[src]

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

Access functions:

Calls C++ function: Qt3DRender::QBlitFramebuffer::InterpolationMethod Qt3DRender::QBlitFramebuffer::interpolationMethod() const.

C++ documentation:

Access functions:

Qt3DRender::QBlitFramebuffer::InterpolationMethod interpolationMethod() const
void setInterpolationMethod(Qt3DRender::QBlitFramebuffer::InterpolationMethod interpolationMethod)

Notifier signal:

void interpolationMethodChanged()

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

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

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

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

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

Constructs a new QBlitFramebuffer with the given parent.

Calls C++ function: [constructor] void Qt3DRender::QBlitFramebuffer::QBlitFramebuffer(Qt3DCore::QNode* parent = …).

C++ documentation:

Constructs a new QBlitFramebuffer with the given parent.

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

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

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.

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

C++ documentation:

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.

This node inserts a glBlitFrameBuffer or an equivalent into the command stream. This provides a more efficient method for copying rectangles between textures or surface backbuffers wrapped by QRenderTarget than drawing textured quads. It also supports scaling with the specified interpolation method.

Note: In practice the QBlitFramebuffer node will often be used in combination with QNoDraw since a blit should not involve issuing draw calls for any entities.

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

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

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

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

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

Calls C++ function: virtual void* Qt3DRender::QBlitFramebuffer::qt_metacast(const char* arg1).

pub unsafe fn set_destination(
    &self,
    destination: impl CastInto<Ptr<QRenderTarget>>
)
[src]

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

Sets the destination render target. The default value is nullptr, in which case the destination is assumed to be be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setDestination(Qt3DRender::QRenderTarget* destination).

C++ documentation:

Sets the destination render target. The default value is nullptr, in which case the destination is assumed to be be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.

Note: the source and destination must not refer to the same render target.

Note: As with other nodes, destination gets automatically parented to the QBlitFramebuffer instance when no parent has been set. The lifetime is also tracked, meaning the destination reverts to nullptr in case the currently set destination is destroyed.

Note: Setter function for property destination.

See also destination().

pub unsafe fn set_destination_attachment_point(
    &self,
    destination_attachment_point: AttachmentPoint
)
[src]

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

Sets the destinationAttachmentPoint. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setDestinationAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint destinationAttachmentPoint).

C++ documentation:

Sets the destinationAttachmentPoint. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.

Note: Setter function for property destinationAttachmentPoint.

See also destinationAttachmentPoint().

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

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

Sets the destination rectangle to outputRect. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setDestinationRect(const QRectF& destinationRect).

C++ documentation:

Sets the destination rectangle to outputRect. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.

Note: Setter function for property destinationRect.

See also destinationRect().

pub unsafe fn set_interpolation_method(
    &self,
    interpolation_method: InterpolationMethod
)
[src]

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

Sets the interpolationMethod that is applied if the image is stretched. Defaults to Linear.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setInterpolationMethod(Qt3DRender::QBlitFramebuffer::InterpolationMethod interpolationMethod).

C++ documentation:

Sets the interpolationMethod that is applied if the image is stretched. Defaults to Linear.

Note: Setter function for property interpolationMethod.

See also interpolationMethod().

pub unsafe fn set_source(&self, source: impl CastInto<Ptr<QRenderTarget>>)[src]

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

Sets the source render target. The default value is nullptr, in which case the source is assumed to be be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setSource(Qt3DRender::QRenderTarget* source).

C++ documentation:

Sets the source render target. The default value is nullptr, in which case the source is assumed to be be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.

Note: the source and destination must not refer to the same render target.

Note: As with other nodes, source gets automatically parented to the QBlitFramebuffer instance when no parent has been set. The lifetime is also tracked, meaning the source reverts to nullptr in case the currently set source is destroyed.

Note: Setter function for property source.

See also source().

pub unsafe fn set_source_attachment_point(
    &self,
    source_attachment_point: AttachmentPoint
)
[src]

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

Sets the sourceAttachmentPoint. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setSourceAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint sourceAttachmentPoint).

C++ documentation:

Sets the sourceAttachmentPoint. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.

Note: Setter function for property sourceAttachmentPoint.

See also sourceAttachmentPoint().

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

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

Sets the source rectangle to inputRect. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.

Calls C++ function: void Qt3DRender::QBlitFramebuffer::setSourceRect(const QRectF& sourceRect).

C++ documentation:

Sets the source rectangle to inputRect. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.

Note: Setter function for property sourceRect.

See also sourceRect().

pub unsafe fn source(&self) -> QPtr<QRenderTarget>[src]

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

Access functions:

Calls C++ function: Qt3DRender::QRenderTarget* Qt3DRender::QBlitFramebuffer::source() const.

C++ documentation:

Access functions:

Qt3DRender::QRenderTarget *source() const
void setSource(Qt3DRender::QRenderTarget *source)

Notifier signal:

void sourceChanged()

pub unsafe fn source_attachment_point(&self) -> AttachmentPoint[src]

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

Access functions:

Calls C++ function: Qt3DRender::QRenderTargetOutput::AttachmentPoint Qt3DRender::QBlitFramebuffer::sourceAttachmentPoint() const.

C++ documentation:

Access functions:

Qt3DRender::QRenderTargetOutput::AttachmentPoint sourceAttachmentPoint() const
void setSourceAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint sourceAttachmentPoint)

Notifier signal:

void sourceAttachmentPointChanged()

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

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

Access functions:

Calls C++ function: QRectF Qt3DRender::QBlitFramebuffer::sourceRect() const.

C++ documentation:

Access functions:

QRectF sourceRect() const
void setSourceRect(const QRectF &inputRect)

Notifier signal:

void sourceRectChanged()

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

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

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]

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

Calls C++ function: static QString Qt3DRender::QBlitFramebuffer::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]

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

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

Methods from Deref<Target = QFrameGraphNode>

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

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

pub unsafe fn parent_frame_graph_node(&self) -> QPtr<QFrameGraphNode>[src]

Returns a pointer to the parent.

Calls C++ function: Qt3DRender::QFrameGraphNode* Qt3DRender::QFrameGraphNode::parentFrameGraphNode() const.

C++ documentation:

Returns a pointer to the 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 Qt3DRender::QFrameGraphNode::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* Qt3DRender::QFrameGraphNode::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QBlitFramebuffer[src]

unsafe fn delete(&self)[src]

Destructor.

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

C++ documentation:

Destructor.

impl Deref for QBlitFramebuffer[src]

type Target = QFrameGraphNode

The resulting type after dereferencing.

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

Calls C++ function: Qt3DRender::QFrameGraphNode* static_cast<Qt3DRender::QFrameGraphNode*>(Qt3DRender::QBlitFramebuffer* ptr).

impl DynamicCast<QBlitFramebuffer> for QFrameGraphNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QBlitFramebuffer>[src]

Calls C++ function: Qt3DRender::QBlitFramebuffer* dynamic_cast<Qt3DRender::QBlitFramebuffer*>(Qt3DRender::QFrameGraphNode* ptr).

impl DynamicCast<QBlitFramebuffer> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QBlitFramebuffer>[src]

Calls C++ function: Qt3DRender::QBlitFramebuffer* dynamic_cast<Qt3DRender::QBlitFramebuffer*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QBlitFramebuffer> for QObject[src]

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

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

impl StaticDowncast<QBlitFramebuffer> for QFrameGraphNode[src]

unsafe fn static_downcast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QBlitFramebuffer>[src]

Calls C++ function: Qt3DRender::QBlitFramebuffer* static_cast<Qt3DRender::QBlitFramebuffer*>(Qt3DRender::QFrameGraphNode* ptr).

impl StaticDowncast<QBlitFramebuffer> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QBlitFramebuffer>[src]

Calls C++ function: Qt3DRender::QBlitFramebuffer* static_cast<Qt3DRender::QBlitFramebuffer*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QBlitFramebuffer> for QObject[src]

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

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

impl StaticUpcast<QFrameGraphNode> for QBlitFramebuffer[src]

unsafe fn static_upcast(ptr: Ptr<QBlitFramebuffer>) -> Ptr<QFrameGraphNode>[src]

Calls C++ function: Qt3DRender::QFrameGraphNode* static_cast<Qt3DRender::QFrameGraphNode*>(Qt3DRender::QBlitFramebuffer* ptr).

impl StaticUpcast<QNode> for QBlitFramebuffer[src]

unsafe fn static_upcast(ptr: Ptr<QBlitFramebuffer>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QBlitFramebuffer* ptr).

impl StaticUpcast<QObject> for QBlitFramebuffer[src]

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

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