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

Public Member Functions

auto assign_from_another (_other:&meshlib::Vector4_unsigned_char) -> &mut meshlib::Vector4_unsigned_char
auto index (e:core::ffi::c_int) const -> &core::ffi::c_uchar
auto index_mut (e:core::ffi::c_int) -> &mut core::ffi::c_uchar
auto length_sq () const -> core::ffi::c_int
auto length () const -> f64
auto x () const -> &core::ffi::c_uchar
auto x_mut () -> &mut core::ffi::c_uchar
void set_x (value:core::ffi::c_uchar)
auto y () const -> &core::ffi::c_uchar
auto y_mut () -> &mut core::ffi::c_uchar
void set_y (value:core::ffi::c_uchar)
auto z () const -> &core::ffi::c_uchar
auto z_mut () -> &mut core::ffi::c_uchar
void set_z (value:core::ffi::c_uchar)
auto w () const -> &core::ffi::c_uchar
auto w_mut () -> &mut core::ffi::c_uchar
void set_w (value:core::ffi::c_uchar)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static auto construct_from_another (_other:&meshlib::Vector4_unsigned_char) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static auto construct_1 (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static auto construct_4 (x:core::ffi::c_uchar, y:core::ffi::c_uchar, z:core::ffi::c_uchar, w:core::ffi::c_uchar) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static auto diagonal (a:core::ffi::c_uchar) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static auto elements () -> *const core::ffi::c_int
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

four-dimensional vector Generated from class MR::Vector4<unsigned char>.

Generated from class MR::Vector4<unsigned char>. Heap-allocated instances are held in Owned<Vector4_unsigned_char>.

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::Vector4<unsigned char>::operator=.

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

◆ construct_1()

auto meshlib::Vector4_unsigned_char::construct_1 ( _1:&meshlib::NoInit ) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static

Generated from constructor MR::Vector4<unsigned char>::Vector4.

Calls MR_Vector4_unsigned_char_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.

◆ construct_4()

auto meshlib::Vector4_unsigned_char::construct_4 ( x:core::ffi::c_uchar ,
y:core::ffi::c_uchar ,
z:core::ffi::c_uchar ,
w:core::ffi::c_uchar  ) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static

Generated from constructor MR::Vector4<unsigned char>::Vector4.

Calls MR_Vector4_unsigned_char_Construct_4(). The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object. The reference to the parameter w might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Vector4<unsigned char>::Vector4.

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

◆ diagonal()

auto meshlib::Vector4_unsigned_char::diagonal ( a:core::ffi::c_uchar ) -> meshlib::Owned< meshlib::Vector4_unsigned_char >
static

Generated from method MR::Vector4<unsigned char>::diagonal.

Calls MR_Vector4_unsigned_char_diagonal().

◆ elements()

auto meshlib::Vector4_unsigned_char::elements ( ) -> *const core::ffi::c_int
static

Returns a pointer to a member variable of class MR::Vector4<unsigned char> named elements.

Calls MR_Vector4_unsigned_char_Get_elements().

◆ index()

auto meshlib::Vector4_unsigned_char::index ( e:core::ffi::c_int ) const -> &core::ffi::c_uchar

Generated from method MR::Vector4<unsigned char>::operator[].

Calls MR_Vector4_unsigned_char_index().

◆ index_mut()

auto meshlib::Vector4_unsigned_char::index_mut ( e:core::ffi::c_int ) -> &mut core::ffi::c_uchar

Generated from method MR::Vector4<unsigned char>::operator[].

Calls MR_Vector4_unsigned_char_index_mut().

◆ length()

auto meshlib::Vector4_unsigned_char::length ( ) const -> f64

Generated from method MR::Vector4<unsigned char>::length.

Calls MR_Vector4_unsigned_char_length().

◆ length_sq()

auto meshlib::Vector4_unsigned_char::length_sq ( ) const -> core::ffi::c_int

Generated from method MR::Vector4<unsigned char>::lengthSq.

Calls MR_Vector4_unsigned_char_lengthSq().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Vector4_unsigned_char_DefaultConstruct().

◆ set_w()

void meshlib::Vector4_unsigned_char::set_w ( value:core::ffi::c_uchar )

Modifies a member variable of class MR::Vector4<unsigned char> named w.

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

◆ set_x()

void meshlib::Vector4_unsigned_char::set_x ( value:core::ffi::c_uchar )

Modifies a member variable of class MR::Vector4<unsigned char> named x.

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

◆ set_y()

void meshlib::Vector4_unsigned_char::set_y ( value:core::ffi::c_uchar )

Modifies a member variable of class MR::Vector4<unsigned char> named y.

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

◆ set_z()

void meshlib::Vector4_unsigned_char::set_z ( value:core::ffi::c_uchar )

Modifies a member variable of class MR::Vector4<unsigned char> named z.

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

◆ w()

auto meshlib::Vector4_unsigned_char::w ( ) const -> &core::ffi::c_uchar

Returns a pointer to a member variable of class MR::Vector4<unsigned char> named w.

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

◆ w_mut()

auto meshlib::Vector4_unsigned_char::w_mut ( ) -> &mut core::ffi::c_uchar

Returns a mutable pointer to a member variable of class MR::Vector4<unsigned char> named w.

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

◆ x()

auto meshlib::Vector4_unsigned_char::x ( ) const -> &core::ffi::c_uchar

Returns a pointer to a member variable of class MR::Vector4<unsigned char> named x.

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

◆ x_mut()

auto meshlib::Vector4_unsigned_char::x_mut ( ) -> &mut core::ffi::c_uchar

Returns a mutable pointer to a member variable of class MR::Vector4<unsigned char> named x.

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

◆ y()

auto meshlib::Vector4_unsigned_char::y ( ) const -> &core::ffi::c_uchar

Returns a pointer to a member variable of class MR::Vector4<unsigned char> named y.

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

◆ y_mut()

auto meshlib::Vector4_unsigned_char::y_mut ( ) -> &mut core::ffi::c_uchar

Returns a mutable pointer to a member variable of class MR::Vector4<unsigned char> named y.

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

◆ z()

auto meshlib::Vector4_unsigned_char::z ( ) const -> &core::ffi::c_uchar

Returns a pointer to a member variable of class MR::Vector4<unsigned char> named z.

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

◆ z_mut()

auto meshlib::Vector4_unsigned_char::z_mut ( ) -> &mut core::ffi::c_uchar

Returns a mutable pointer to a member variable of class MR::Vector4<unsigned char> named z.

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


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