[−][src]Struct qt_3d_extras::QCylinderGeometry
The QCylinderGeometry class allows creation of a cylinder in 3D space.
C++ class: Qt3DExtras::QCylinderGeometry
.
The QCylinderGeometry class allows creation of a cylinder in 3D space.
The QCylinderGeometry class is most commonly used internally by the QCylinderMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.
Methods
impl QCylinderGeometry
[src]
pub fn slot_set_rings(&self) -> Receiver<(c_int,)>
[src]
Holds the number of rings in the cylinder.
Returns a built-in Qt slot Qt3DExtras::QCylinderGeometry::setRings
that can be passed to qt_core::Signal::connect
.
Holds the number of rings in the cylinder.
Access functions:
int | rings() const |
void | setRings(int rings) |
Notifier signal:
void | ringsChanged(int rings) |
pub fn slot_set_slices(&self) -> Receiver<(c_int,)>
[src]
Holds the number of slices in the cylinder.
Returns a built-in Qt slot Qt3DExtras::QCylinderGeometry::setSlices
that can be passed to qt_core::Signal::connect
.
Holds the number of slices in the cylinder.
Access functions:
int | slices() const |
void | setSlices(int slices) |
Notifier signal:
void | slicesChanged(int slices) |
pub fn slot_set_radius(&self) -> Receiver<(c_float,)>
[src]
Holds the radius of the cylinder.
Returns a built-in Qt slot Qt3DExtras::QCylinderGeometry::setRadius
that can be passed to qt_core::Signal::connect
.
Holds the radius of the cylinder.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub fn slot_set_length(&self) -> Receiver<(c_float,)>
[src]
Holds the length of the cylinder.
Returns a built-in Qt slot Qt3DExtras::QCylinderGeometry::setLength
that can be passed to qt_core::Signal::connect
.
Holds the length of the cylinder.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub fn radius_changed(&self) -> Signal<(c_float,)>
[src]
Holds the radius of the cylinder.
Returns a built-in Qt signal Qt3DExtras::QCylinderGeometry::radiusChanged
that can be passed to qt_core::Signal::connect
.
Holds the radius of the cylinder.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub fn rings_changed(&self) -> Signal<(c_int,)>
[src]
Holds the number of rings in the cylinder.
Returns a built-in Qt signal Qt3DExtras::QCylinderGeometry::ringsChanged
that can be passed to qt_core::Signal::connect
.
Holds the number of rings in the cylinder.
Access functions:
int | rings() const |
void | setRings(int rings) |
Notifier signal:
void | ringsChanged(int rings) |
pub fn slices_changed(&self) -> Signal<(c_int,)>
[src]
Holds the number of slices in the cylinder.
Returns a built-in Qt signal Qt3DExtras::QCylinderGeometry::slicesChanged
that can be passed to qt_core::Signal::connect
.
Holds the number of slices in the cylinder.
Access functions:
int | slices() const |
void | setSlices(int slices) |
Notifier signal:
void | slicesChanged(int slices) |
pub fn length_changed(&self) -> Signal<(c_float,)>
[src]
Holds the length of the cylinder.
Returns a built-in Qt signal Qt3DExtras::QCylinderGeometry::lengthChanged
that can be passed to qt_core::Signal::connect
.
Holds the length of the cylinder.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn index_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry index attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCylinderGeometry::indexAttribute() const
.
Holds the geometry index attribute.
Access functions:
Qt3DRender::QAttribute * | indexAttribute() const |
pub unsafe fn length(&self) -> c_float
[src]
Holds the length of the cylinder.
Calls C++ function: float Qt3DExtras::QCylinderGeometry::length() const
.
Holds the length of the cylinder.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QCylinderGeometry::metaObject() const
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QCylinderGeometry>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QCylinderGeometry>
Constructs a new QCylinderMesh with parent.
Calls C++ function: [constructor] void Qt3DExtras::QCylinderGeometry::QCylinderGeometry(Qt3DCore::QNode* parent = …)
.
Constructs a new QCylinderMesh with parent.
pub unsafe fn new_0a() -> QBox<QCylinderGeometry>
[src]
The QCylinderGeometry class allows creation of a cylinder in 3D space.
Calls C++ function: [constructor] void Qt3DExtras::QCylinderGeometry::QCylinderGeometry()
.
The QCylinderGeometry class allows creation of a cylinder in 3D space.
The QCylinderGeometry class is most commonly used internally by the QCylinderMesh but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.
pub unsafe fn normal_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry normal attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCylinderGeometry::normalAttribute() const
.
Holds the geometry normal attribute.
Access functions:
Qt3DRender::QAttribute * | normalAttribute() const |
pub unsafe fn position_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry position attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCylinderGeometry::positionAttribute() const
.
Holds the geometry position attribute.
Access functions:
Qt3DRender::QAttribute * | positionAttribute() 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 Qt3DExtras::QCylinderGeometry::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* Qt3DExtras::QCylinderGeometry::qt_metacast(const char* arg1)
.
pub unsafe fn radius(&self) -> c_float
[src]
Holds the radius of the cylinder.
Calls C++ function: float Qt3DExtras::QCylinderGeometry::radius() const
.
Holds the radius of the cylinder.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub unsafe fn rings(&self) -> c_int
[src]
Holds the number of rings in the cylinder.
Calls C++ function: int Qt3DExtras::QCylinderGeometry::rings() const
.
Holds the number of rings in the cylinder.
Access functions:
int | rings() const |
void | setRings(int rings) |
Notifier signal:
void | ringsChanged(int rings) |
pub unsafe fn set_length(&mut self, length: c_float)
[src]
Holds the length of the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderGeometry::setLength(float length)
.
Holds the length of the cylinder.
Access functions:
float | length() const |
void | setLength(float length) |
Notifier signal:
void | lengthChanged(float length) |
pub unsafe fn set_radius(&mut self, radius: c_float)
[src]
Holds the radius of the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderGeometry::setRadius(float radius)
.
Holds the radius of the cylinder.
Access functions:
float | radius() const |
void | setRadius(float radius) |
Notifier signal:
void | radiusChanged(float radius) |
pub unsafe fn set_rings(&mut self, rings: c_int)
[src]
Holds the number of rings in the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderGeometry::setRings(int rings)
.
Holds the number of rings in the cylinder.
Access functions:
int | rings() const |
void | setRings(int rings) |
Notifier signal:
void | ringsChanged(int rings) |
pub unsafe fn set_slices(&mut self, slices: c_int)
[src]
Holds the number of slices in the cylinder.
Calls C++ function: [slot] void Qt3DExtras::QCylinderGeometry::setSlices(int slices)
.
Holds the number of slices in the cylinder.
Access functions:
int | slices() const |
void | setSlices(int slices) |
Notifier signal:
void | slicesChanged(int slices) |
pub unsafe fn slices(&self) -> c_int
[src]
Holds the number of slices in the cylinder.
Calls C++ function: int Qt3DExtras::QCylinderGeometry::slices() const
.
Holds the number of slices in the cylinder.
Access functions:
int | slices() const |
void | setSlices(int slices) |
Notifier signal:
void | slicesChanged(int slices) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tex_coord_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the geometry texture coordinate attribute.
Calls C++ function: Qt3DRender::QAttribute* Qt3DExtras::QCylinderGeometry::texCoordAttribute() const
.
Holds the geometry texture coordinate attribute.
Access functions:
Qt3DRender::QAttribute * | texCoordAttribute() const |
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 Qt3DExtras::QCylinderGeometry::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 Qt3DExtras::QCylinderGeometry::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn update_indices(&mut self)
[src]
Updates the indices based on rings, slices, and length properties.
Calls C++ function: void Qt3DExtras::QCylinderGeometry::updateIndices()
.
Updates the indices based on rings, slices, and length properties.
pub unsafe fn update_vertices(&mut self)
[src]
Updates the vertices based on rings, slices, and length properties.
Calls C++ function: void Qt3DExtras::QCylinderGeometry::updateVertices()
.
Updates the vertices based on rings, slices, and length properties.
Methods from Deref<Target = QGeometry>
pub fn slot_set_bounding_volume_position_attribute(
&self
) -> Receiver<(*mut QAttribute,)>
[src]
&self
) -> Receiver<(*mut QAttribute,)>
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
Returns a built-in Qt slot Qt3DRender::QGeometry::setBoundingVolumePositionAttribute
that can be passed to qt_core::Signal::connect
.
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.
Access functions:
QAttribute * | boundingVolumePositionAttribute() const |
void | setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute) |
Notifier signal:
void | boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute) |
See also Qt3DRender::QAttribute.
pub fn bounding_volume_position_attribute_changed(
&self
) -> Signal<(*mut QAttribute,)>
[src]
&self
) -> Signal<(*mut QAttribute,)>
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
Returns a built-in Qt signal Qt3DRender::QGeometry::boundingVolumePositionAttributeChanged
that can be passed to qt_core::Signal::connect
.
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.
Access functions:
QAttribute * | boundingVolumePositionAttribute() const |
void | setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute) |
Notifier signal:
void | boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute) |
See also Qt3DRender::QAttribute.
pub unsafe fn add_attribute(
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
Adds an attribute to this geometry.
Calls C++ function: void Qt3DRender::QGeometry::addAttribute(Qt3DRender::QAttribute* attribute)
.
Adds an attribute to this geometry.
pub unsafe fn attributes(&self) -> CppBox<QVectorOfQAttribute>
[src]
Returns the list of attributes in this geometry.
Calls C++ function: QVector<Qt3DRender::QAttribute*> Qt3DRender::QGeometry::attributes() const
.
Returns the list of attributes in this geometry.
pub unsafe fn bounding_volume_position_attribute(&self) -> QMutPtr<QAttribute>
[src]
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
Calls C++ function: Qt3DRender::QAttribute* Qt3DRender::QGeometry::boundingVolumePositionAttribute() const
.
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.
Access functions:
QAttribute * | boundingVolumePositionAttribute() const |
void | setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute) |
Notifier signal:
void | boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute) |
See also Qt3DRender::QAttribute.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QGeometry::metaObject() const
.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
[src]
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
Calls C++ function: virtual int Qt3DRender::QGeometry::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QGeometry::qt_metacast(const char* arg1)
.
pub unsafe fn remove_attribute(
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
attribute: impl CastInto<MutPtr<QAttribute>>
)
Removes the given attribute from this geometry.
Calls C++ function: void Qt3DRender::QGeometry::removeAttribute(Qt3DRender::QAttribute* attribute)
.
Removes the given attribute from this geometry.
pub unsafe fn set_bounding_volume_position_attribute(
&mut self,
bounding_volume_position_attribute: impl CastInto<MutPtr<QAttribute>>
)
[src]
&mut self,
bounding_volume_position_attribute: impl CastInto<MutPtr<QAttribute>>
)
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
Calls C++ function: [slot] void Qt3DRender::QGeometry::setBoundingVolumePositionAttribute(Qt3DRender::QAttribute* boundingVolumePositionAttribute)
.
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.
Access functions:
QAttribute * | boundingVolumePositionAttribute() const |
void | setBoundingVolumePositionAttribute(QAttribute *boundingVolumePositionAttribute) |
Notifier signal:
void | boundingVolumePositionAttributeChanged(QAttribute *boundingVolumePositionAttribute) |
See also Qt3DRender::QAttribute.
Trait Implementations
impl CppDeletable for QCylinderGeometry
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: virtual [destructor] void Qt3DExtras::QCylinderGeometry::~QCylinderGeometry()
.
impl Deref for QCylinderGeometry
[src]
type Target = QGeometry
The resulting type after dereferencing.
fn deref(&self) -> &QGeometry
[src]
Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCylinderGeometry* ptr)
.
impl DerefMut for QCylinderGeometry
[src]
fn deref_mut(&mut self) -> &mut QGeometry
[src]
Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCylinderGeometry* ptr)
.
impl DynamicCast<QCylinderGeometry> for QGeometry
[src]
unsafe fn dynamic_cast(ptr: Ptr<QGeometry>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DRender::QGeometry* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QGeometry>) -> MutPtr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DRender::QGeometry* ptr)
.
impl DynamicCast<QCylinderGeometry> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QCylinderGeometry> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* dynamic_cast<Qt3DExtras::QCylinderGeometry*>(QObject* ptr)
.
impl StaticDowncast<QCylinderGeometry> for QGeometry
[src]
unsafe fn static_downcast(ptr: Ptr<QGeometry>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DRender::QGeometry* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QGeometry>
) -> MutPtr<QCylinderGeometry>
[src]
ptr: MutPtr<QGeometry>
) -> MutPtr<QCylinderGeometry>
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DRender::QGeometry* ptr)
.
impl StaticDowncast<QCylinderGeometry> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QCylinderGeometry> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCylinderGeometry>
[src]
Calls C++ function: Qt3DExtras::QCylinderGeometry* static_cast<Qt3DExtras::QCylinderGeometry*>(QObject* ptr)
.
impl StaticUpcast<QGeometry> for QCylinderGeometry
[src]
unsafe fn static_upcast(ptr: Ptr<QCylinderGeometry>) -> Ptr<QGeometry>
[src]
Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCylinderGeometry* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderGeometry>) -> MutPtr<QGeometry>
[src]
Calls C++ function: Qt3DRender::QGeometry* static_cast<Qt3DRender::QGeometry*>(Qt3DExtras::QCylinderGeometry* ptr)
.
impl StaticUpcast<QNode> for QCylinderGeometry
[src]
unsafe fn static_upcast(ptr: Ptr<QCylinderGeometry>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QCylinderGeometry* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderGeometry>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QCylinderGeometry* ptr)
.
impl StaticUpcast<QObject> for QCylinderGeometry
[src]
unsafe fn static_upcast(ptr: Ptr<QCylinderGeometry>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QCylinderGeometry* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCylinderGeometry>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QCylinderGeometry* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QCylinderGeometry
impl Send for QCylinderGeometry
impl Sync for QCylinderGeometry
impl Unpin for QCylinderGeometry
impl UnwindSafe for QCylinderGeometry
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>,