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

Public Member Functions

auto assign_from_another (_other:&meshlib::PositionedText) -> &mut meshlib::PositionedText
auto op_equal (_1:&meshlib::PositionedText) const -> bool
auto op_not_equal (_1:&meshlib::PositionedText) const -> bool
auto text () const -> &meshlib::std_string
auto text_mut () -> &mut meshlib::std_string
void set_text (value:&str)
auto position () const -> &meshlib::Vector3f
auto position_mut () -> &mut meshlib::Vector3f
void set_position (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PositionedText >
static auto construct_from_another (_other:&meshlib::PositionedText) -> meshlib::Owned< meshlib::PositionedText >
static auto construct (text:&str, position:&meshlib::Vector3f) -> meshlib::Owned< meshlib::PositionedText >
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

Generated from class MR::PositionedText.

Generated from class MR::PositionedText. Heap-allocated instances are held in Owned<PositionedText>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::PositionedText::assign_from_another ( _other:&meshlib::PositionedText ) -> &mut meshlib::PositionedText

Generated from method MR::PositionedText::operator=.

Calls MR_PositionedText_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct()

auto meshlib::PositionedText::construct ( text:& str,
position:&meshlib::Vector3f  ) -> meshlib::Owned< meshlib::PositionedText >
static

Generated from constructor MR::PositionedText::PositionedText.

Calls MR_PositionedText_Construct(). The reference to the parameter text might be preserved in the constructed object. The reference to the parameter position might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::PositionedText::construct_from_another ( _other:&meshlib::PositionedText ) -> meshlib::Owned< meshlib::PositionedText >
static

Generated from constructor MR::PositionedText::PositionedText.

Calls MR_PositionedText_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PositionedText_DefaultConstruct().

◆ op_equal()

auto meshlib::PositionedText::op_equal ( _1:&meshlib::PositionedText ) const -> bool

Generated from method MR::PositionedText::operator==.

Calls MR_equal_MR_PositionedText().

◆ op_not_equal()

auto meshlib::PositionedText::op_not_equal ( _1:&meshlib::PositionedText ) const -> bool

Generated from method MR::PositionedText::operator!=.

Calls MR_not_equal_MR_PositionedText().

◆ position()

auto meshlib::PositionedText::position ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::PositionedText named position.

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

◆ position_mut()

auto meshlib::PositionedText::position_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::PositionedText named position.

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

◆ set_position()

void meshlib::PositionedText::set_position ( value:meshlib::Vector3f )

Modifies a member variable of class MR::PositionedText named position.

Calls MR_PositionedText_Set_position(). The reference to the parameter value might be preserved in this object in element position.

◆ set_text()

void meshlib::PositionedText::set_text ( value:& str)

Modifies a member variable of class MR::PositionedText named text.

Calls MR_PositionedText_Set_text(). The reference to the parameter value might be preserved in this object in element text.

◆ text()

auto meshlib::PositionedText::text ( ) const -> &meshlib::std_string

Returns a pointer to a member variable of class MR::PositionedText named text.

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

◆ text_mut()

auto meshlib::PositionedText::text_mut ( ) -> &mut meshlib::std_string

Returns a mutable pointer to a member variable of class MR::PositionedText named text.

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


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