MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts Struct Reference
Inheritance diagram for meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts:

Public Member Functions

void assign_from_another (other:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts)
auto get () const -> Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >
auto has_value () const -> bool
auto use_count () const -> core::ffi::c_int
void reset ()
void assign (ptr:meshlib::Owned< meshlib::IComputePointsToDistanceVolumeByParts >)
void assign_non_owning (ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >)
void assign_aliasing (ownership:&meshlib::std_shared_ptr_const_void, ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >)
auto convert_to_mr_std_shared_ptr_void () const -> meshlib::Owned< meshlib::std_shared_ptr_void >
void assign_to_mr_std_shared_ptr_void (_target:&mut meshlib::std_shared_ptr_void) const

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static auto construct_from_another (other:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static auto construct (ptr:meshlib::Owned< meshlib::IComputePointsToDistanceVolumeByParts >) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static auto construct_non_owning (ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static auto construct_aliasing (ownership:&meshlib::std_shared_ptr_const_void, ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Wraps a pointer to a single shared reference-counted heap-allocated MR::IComputePointsToDistanceVolumeByParts.

Generated from class std::shared_ptr<MR::IComputePointsToDistanceVolumeByParts>. Heap-allocated instances are held in Owned<std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts>.

Member Function Documentation

◆ assign()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::assign ( ptr:meshlib::Owned< meshlib::IComputePointsToDistanceVolumeByParts > )

Overwrite the existing instance, taking ownership of an existing pointer. The previously owned object, if any, has its reference count decremented.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_Assign().

◆ assign_aliasing()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::assign_aliasing ( ownership:&meshlib::std_shared_ptr_const_void ,
ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >  )

The aliasing assignment. Overwrite an existing instance, copying ownership from an existing shared pointer and storing an arbitrary raw pointer. The input pointer can be reinterpreted from any other std::shared_ptr<T> to avoid constructing a new std::shared_ptr<void>.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_AssignAliasing(). The reference to the parameter ptr might be preserved in this object.

◆ assign_from_another()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::assign_from_another ( other:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ assign_non_owning()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::assign_non_owning ( ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts > )

Overwrite the existing instance with a non-owning pointer. The previously owned object, if any, has its reference count decremented.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_AssignNonOwning(). The reference to the parameter ptr might be preserved in this object.

◆ assign_to_mr_std_shared_ptr_void()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::assign_to_mr_std_shared_ptr_void ( _target:&mut meshlib::std_shared_ptr_void ) const

Overwrites an existing std::shared_ptr<void> to point to the same object as this instance.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_AssignTo_MR_std_shared_ptr_void().

◆ construct()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::construct ( ptr:meshlib::Owned< meshlib::IComputePointsToDistanceVolumeByParts > ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static

Create a new instance, taking ownership of an existing pointer.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_Construct().

◆ construct_aliasing()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::construct_aliasing ( ownership:&meshlib::std_shared_ptr_const_void ,
ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >  ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static

The aliasing constructor. Create a new instance, copying ownership from an existing shared pointer and storing an arbitrary raw pointer. The input pointer can be reinterpreted from any other std::shared_ptr<T> to avoid constructing a new std::shared_ptr<void>.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_ConstructAliasing(). The reference to the parameter ptr might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::construct_from_another ( other:&meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static

Constructs a copy of another instance. The source remains alive.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.

◆ construct_non_owning()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::construct_non_owning ( ptr:Option<&mut meshlib::IComputePointsToDistanceVolumeByParts > ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static

Create a new instance, storing a non-owning pointer.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_ConstructNonOwning(). The reference to the parameter ptr might be preserved in the constructed object.

◆ convert_to_mr_std_shared_ptr_void()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::convert_to_mr_std_shared_ptr_void ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_void >

Creates an untyped std::shared_ptr<void> pointing to the same object as the source typed pointer.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_ConvertTo_MR_std_shared_ptr_void().

◆ get()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::get ( ) const -> Option<&mut meshlib::IComputePointsToDistanceVolumeByParts >

Returns the stored pointer, possibly null.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_get(). The reference to this object might be preserved as the return value.

◆ has_value()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::has_value ( ) const -> bool

Returns true if non-null.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_has_value().

◆ new()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::new ( ) -> meshlib::Owned< meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts >
static

Constructs an empty (default-constructed) instance.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_DefaultConstruct().

◆ reset()

void meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::reset ( )

Resets the pointer to null.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_reset().

◆ use_count()

auto meshlib::std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts::use_count ( ) const -> core::ffi::c_int

How many shared pointers share the managed object. Zero if no object is being managed. This being zero usually conincides with MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_get() returning null, but is ultimately orthogonal. Note that in multithreaded environments, the only safe way to use this number is comparing it with zero. Positive values might change by the time you get to use them.

Calls MR_std_shared_ptr_MR_IComputePointsToDistanceVolumeByParts_use_count().


The documentation for this struct was generated from the following file: