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

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::Vector3b
static auto construct_mr_no_init (_1:&meshlib::NoInit) -> meshlib::Vector3b
static auto construct (x:bool, y:bool, z:bool) -> meshlib::Vector3b
static auto diagonal (a:bool) -> meshlib::Vector3b
static auto plus_x () -> meshlib::Vector3b
static auto plus_y () -> meshlib::Vector3b
static auto plus_z () -> meshlib::Vector3b
static auto elements () -> *const core::ffi::c_int

Public Attributes

bool x
bool y
bool z

Detailed Description

three-dimensional vector Generated from class MR::Vector3b.

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

Member Function Documentation

◆ construct()

auto meshlib::Vector3b::construct ( x:bool ,
y:bool ,
z:bool  ) -> meshlib::Vector3b
static

Generated from constructor MR::Vector3b::Vector3b.

Calls MR_Vector3b_Construct().

◆ construct_mr_no_init()

auto meshlib::Vector3b::construct_mr_no_init ( _1:&meshlib::NoInit ) -> meshlib::Vector3b
static

Generated from constructor MR::Vector3b::Vector3b.

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

◆ diagonal()

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

Generated from method MR::Vector3b::diagonal.

Calls MR_Vector3b_diagonal().

◆ elements()

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

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

Calls MR_Vector3b_Get_elements().

◆ index()

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

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

Calls MR_Vector3b_index().

◆ index_mut()

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

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

Calls MR_Vector3b_index_mut().

◆ length()

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

Generated from method MR::Vector3b::length.

Calls MR_Vector3b_length().

◆ length_sq()

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

Generated from method MR::Vector3b::lengthSq.

Calls MR_Vector3b_lengthSq().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Vector3b_DefaultConstruct().

◆ plus_x()

auto meshlib::Vector3b::plus_x ( ) -> meshlib::Vector3b
static

Generated from method MR::Vector3b::plusX.

Calls MR_Vector3b_plusX().

◆ plus_y()

auto meshlib::Vector3b::plus_y ( ) -> meshlib::Vector3b
static

Generated from method MR::Vector3b::plusY.

Calls MR_Vector3b_plusY().

◆ plus_z()

auto meshlib::Vector3b::plus_z ( ) -> meshlib::Vector3b
static

Generated from method MR::Vector3b::plusZ.

Calls MR_Vector3b_plusZ().

Member Data Documentation

◆ x

bool meshlib::Vector3b::x

◆ y

bool meshlib::Vector3b::y

◆ z

bool meshlib::Vector3b::z

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