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

Public Member Functions

auto assign_from_another (_other:&meshlib::GcodeProcessor_Command) -> &mut meshlib::GcodeProcessor_Command
auto key () const -> &core::ffi::c_char
auto key_mut () -> &mut core::ffi::c_char
void set_key (value:core::ffi::c_char)
auto value () const -> &f32
auto value_mut () -> &mut f32
void set_value (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::GcodeProcessor_Command >
static auto construct_from (key:core::ffi::c_char, value:f32) -> meshlib::Owned< meshlib::GcodeProcessor_Command >
static auto construct_from_another (_other:&meshlib::GcodeProcessor_Command) -> meshlib::Owned< meshlib::GcodeProcessor_Command >
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::GcodeProcessor::Command.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::GcodeProcessor::Command::operator=.

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

◆ construct_from()

auto meshlib::GcodeProcessor_Command::construct_from ( key:core::ffi::c_char ,
value:f32  ) -> meshlib::Owned< meshlib::GcodeProcessor_Command >
static

Constructs MR::GcodeProcessor::Command elementwise.

Calls MR_GcodeProcessor_Command_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::GcodeProcessor::Command::Command.

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

◆ key()

auto meshlib::GcodeProcessor_Command::key ( ) const -> &core::ffi::c_char

in lowercase Returns a pointer to a member variable of class MR::GcodeProcessor::Command named key.

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

◆ key_mut()

auto meshlib::GcodeProcessor_Command::key_mut ( ) -> &mut core::ffi::c_char

in lowercase Returns a mutable pointer to a member variable of class MR::GcodeProcessor::Command named key.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_GcodeProcessor_Command_DefaultConstruct().

◆ set_key()

void meshlib::GcodeProcessor_Command::set_key ( value:core::ffi::c_char )

in lowercase Modifies a member variable of class MR::GcodeProcessor::Command named key.

Calls MR_GcodeProcessor_Command_Set_key().

◆ set_value()

void meshlib::GcodeProcessor_Command::set_value ( value:f32 )

Modifies a member variable of class MR::GcodeProcessor::Command named value.

Calls MR_GcodeProcessor_Command_Set_value().

◆ value()

auto meshlib::GcodeProcessor_Command::value ( ) const -> &f32

Returns a pointer to a member variable of class MR::GcodeProcessor::Command named value.

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

◆ value_mut()

auto meshlib::GcodeProcessor_Command::value_mut ( ) -> &mut f32

Returns a mutable pointer to a member variable of class MR::GcodeProcessor::Command named value.

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


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