MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::Vector4i64:

Public Member Functions

auto index (e:core::ffi::c_int) const -> &i64
auto index_mut (e:core::ffi::c_int) -> &mut i64
auto length_sq () const -> i64
auto length () const -> f64

Static Public Member Functions

static auto new () -> meshlib::Vector4i64
static auto construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector4i64
static auto construct_4 (x:i64, y:i64, z:i64, w:i64) -> meshlib::Vector4i64
static auto diagonal (a:i64) -> meshlib::Vector4i64
static auto elements () -> *const core::ffi::c_int

Public Attributes

i64 x
i64 y
i64 z
i64 w

Detailed Description

four-dimensional vector Generated from class MR::Vector4i64.

Generated from struct MR::Vector4i64. The fields are accessed directly.

Member Function Documentation

◆ construct_1()

auto meshlib::Vector4i64::construct_1 ( _1:&meshlib::NoInit ) -> meshlib::Vector4i64
static

Generated from constructor MR::Vector4i64::Vector4i64.

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

◆ construct_4()

auto meshlib::Vector4i64::construct_4 ( x:i64 ,
y:i64 ,
z:i64 ,
w:i64  ) -> meshlib::Vector4i64
static

Generated from constructor MR::Vector4i64::Vector4i64.

Calls MR_Vector4i64_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.

◆ diagonal()

auto meshlib::Vector4i64::diagonal ( a:i64 ) -> meshlib::Vector4i64
static

Generated from method MR::Vector4i64::diagonal.

Calls MR_Vector4i64_diagonal().

◆ elements()

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

Returns a pointer to a member variable of class MR::Vector4i64 named elements.

Calls MR_Vector4i64_Get_elements().

◆ index()

auto meshlib::Vector4i64::index ( e:core::ffi::c_int ) const -> &i64

Generated from method MR::Vector4i64::operator[].

Calls MR_Vector4i64_index().

◆ index_mut()

auto meshlib::Vector4i64::index_mut ( e:core::ffi::c_int ) -> &mut i64

Generated from method MR::Vector4i64::operator[].

Calls MR_Vector4i64_index_mut().

◆ length()

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

Generated from method MR::Vector4i64::length.

Calls MR_Vector4i64_length().

◆ length_sq()

auto meshlib::Vector4i64::length_sq ( ) const -> i64

Generated from method MR::Vector4i64::lengthSq.

Calls MR_Vector4i64_lengthSq().

◆ new()

auto meshlib::Vector4i64::new ( ) -> meshlib::Vector4i64
static

Constructs an empty (default-constructed) instance.

Calls MR_Vector4i64_DefaultConstruct().

Member Data Documentation

◆ w

i64 meshlib::Vector4i64::w

◆ x

i64 meshlib::Vector4i64::x

◆ y

i64 meshlib::Vector4i64::y

◆ z

i64 meshlib::Vector4i64::z

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