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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

bool x
bool y
bool z
bool w

Detailed Description

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

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

Member Function Documentation

◆ construct_1()

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

Generated from constructor MR::Vector4b::Vector4b.

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

◆ construct_4()

auto meshlib::Vector4b::construct_4 ( x:bool ,
y:bool ,
z:bool ,
w:bool  ) -> meshlib::Vector4b
static

Generated from constructor MR::Vector4b::Vector4b.

Calls MR_Vector4b_Construct_4().

◆ diagonal()

auto meshlib::Vector4b::diagonal ( a:bool ) -> meshlib::Vector4b
static

Generated from method MR::Vector4b::diagonal.

Calls MR_Vector4b_diagonal().

◆ elements()

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

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

Calls MR_Vector4b_Get_elements().

◆ index()

auto meshlib::Vector4b::index ( e:core::ffi::c_int ) const -> &bool

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

Calls MR_Vector4b_index().

◆ index_mut()

auto meshlib::Vector4b::index_mut ( e:core::ffi::c_int ) -> &mut bool

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

Calls MR_Vector4b_index_mut().

◆ length()

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

Generated from method MR::Vector4b::length.

Calls MR_Vector4b_length().

◆ length_sq()

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

Generated from method MR::Vector4b::lengthSq.

Calls MR_Vector4b_lengthSq().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Vector4b_DefaultConstruct().

Member Data Documentation

◆ w

bool meshlib::Vector4b::w

◆ x

bool meshlib::Vector4b::x

◆ y

bool meshlib::Vector4b::y

◆ z

bool meshlib::Vector4b::z

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