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

Public Member Functions

auto assign_from_another (_other:&meshlib::ViewportMask) -> &mut meshlib::ViewportMask
auto value () const -> core::ffi::c_uint
auto empty () const -> bool
auto contains (id:meshlib::ViewportId) const -> bool
auto op_equal (b:&meshlib::ViewportMask) const -> bool
auto op_not_equal (b:&meshlib::ViewportMask) const -> bool
auto op_less (b:&meshlib::ViewportMask) const -> bool
auto op_compl () const -> meshlib::Owned< meshlib::ViewportMask >
auto bitand_assign (b:&meshlib::ViewportMask) -> &mut meshlib::ViewportMask
auto bitor_assign (b:&meshlib::ViewportMask) -> &mut meshlib::ViewportMask
auto xor_assign (b:&meshlib::ViewportMask) -> &mut meshlib::ViewportMask
void set (id:meshlib::ViewportId, on:Option< bool >)
auto mask_ () const -> &core::ffi::c_uint
auto mask__mut () -> &mut core::ffi::c_uint
void set_mask_ (value:core::ffi::c_uint)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ViewportMask >
static auto construct_from_another (_other:&meshlib::ViewportMask) -> meshlib::Owned< meshlib::ViewportMask >
static auto construct_unsigned_int (i:core::ffi::c_uint) -> meshlib::Owned< meshlib::ViewportMask >
static auto construct_mr_viewport_id (i:meshlib::ViewportId) -> meshlib::Owned< meshlib::ViewportMask >
static auto all () -> meshlib::Owned< meshlib::ViewportMask >
static auto any () -> meshlib::Owned< meshlib::ViewportMask >
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

stores mask of viewport unique identifiers Generated from class MR::ViewportMask.

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

Member Function Documentation

◆ all()

auto meshlib::ViewportMask::all ( ) -> meshlib::Owned< meshlib::ViewportMask >
static

mask meaning all or any viewports Generated from method MR::ViewportMask::all.

Calls MR_ViewportMask_all().

◆ any()

auto meshlib::ViewportMask::any ( ) -> meshlib::Owned< meshlib::ViewportMask >
static

Generated from method MR::ViewportMask::any.

Calls MR_ViewportMask_any().

◆ assign_from_another()

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

Generated from method MR::ViewportMask::operator=.

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

◆ bitand_assign()

auto meshlib::ViewportMask::bitand_assign ( b:&meshlib::ViewportMask ) -> &mut meshlib::ViewportMask

Generated from method MR::ViewportMask::operator&=.

Calls MR_ViewportMask_bitand_assign(). The reference to this object might be preserved in the return value.

◆ bitor_assign()

auto meshlib::ViewportMask::bitor_assign ( b:&meshlib::ViewportMask ) -> &mut meshlib::ViewportMask

Generated from method MR::ViewportMask::operator|=.

Calls MR_ViewportMask_bitor_assign(). The reference to this object might be preserved in the return value.

◆ construct_from_another()

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

Generated from constructor MR::ViewportMask::ViewportMask.

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

◆ construct_mr_viewport_id()

auto meshlib::ViewportMask::construct_mr_viewport_id ( i:meshlib::ViewportId ) -> meshlib::Owned< meshlib::ViewportMask >
static

Generated from constructor MR::ViewportMask::ViewportMask.

Calls MR_ViewportMask_Construct_MR_ViewportId(). The reference to the parameter i might be preserved in the constructed object.

◆ construct_unsigned_int()

auto meshlib::ViewportMask::construct_unsigned_int ( i:core::ffi::c_uint ) -> meshlib::Owned< meshlib::ViewportMask >
static

Generated from constructor MR::ViewportMask::ViewportMask.

Calls MR_ViewportMask_Construct_unsigned_int(). The reference to the parameter i might be preserved in the constructed object.

◆ contains()

auto meshlib::ViewportMask::contains ( id:meshlib::ViewportId ) const -> bool

Generated from method MR::ViewportMask::contains.

Calls MR_ViewportMask_contains().

◆ empty()

auto meshlib::ViewportMask::empty ( ) const -> bool

Generated from method MR::ViewportMask::empty.

Calls MR_ViewportMask_empty().

◆ mask_()

auto meshlib::ViewportMask::mask_ ( ) const -> &core::ffi::c_uint

Returns a pointer to a member variable of class MR::ViewportMask named mask_.

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

◆ mask__mut()

auto meshlib::ViewportMask::mask__mut ( ) -> &mut core::ffi::c_uint

Returns a mutable pointer to a member variable of class MR::ViewportMask named mask_.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ViewportMask_DefaultConstruct().

◆ op_compl()

auto meshlib::ViewportMask::op_compl ( ) const -> meshlib::Owned< meshlib::ViewportMask >

Generated from method MR::ViewportMask::operator~.

Calls MR_compl_MR_ViewportMask().

◆ op_equal()

auto meshlib::ViewportMask::op_equal ( b:&meshlib::ViewportMask ) const -> bool

Generated from method MR::ViewportMask::operator==.

Calls MR_equal_MR_ViewportMask().

◆ op_less()

auto meshlib::ViewportMask::op_less ( b:&meshlib::ViewportMask ) const -> bool

Generated from method MR::ViewportMask::operator<.

Calls MR_less_MR_ViewportMask().

◆ op_not_equal()

auto meshlib::ViewportMask::op_not_equal ( b:&meshlib::ViewportMask ) const -> bool

Generated from method MR::ViewportMask::operator!=.

Calls MR_not_equal_MR_ViewportMask().

◆ set()

void meshlib::ViewportMask::set ( id:meshlib::ViewportId ,
on:Option< bool >  )

Generated from method MR::ViewportMask::set.

Calls MR_ViewportMask_set().

◆ set_mask_()

void meshlib::ViewportMask::set_mask_ ( value:core::ffi::c_uint )

Modifies a member variable of class MR::ViewportMask named mask_.

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

◆ value()

auto meshlib::ViewportMask::value ( ) const -> core::ffi::c_uint

Generated from method MR::ViewportMask::value.

Calls MR_ViewportMask_value().

◆ xor_assign()

auto meshlib::ViewportMask::xor_assign ( b:&meshlib::ViewportMask ) -> &mut meshlib::ViewportMask

Generated from method MR::ViewportMask::operator^=.

Calls MR_ViewportMask_xor_assign(). The reference to this object might be preserved in the return value.


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