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

Public Member Functions

void assign_from_another (other:&meshlib::std_set_std_string)
auto size () const -> usize
auto empty () const -> bool
void clear ()
auto contains (key:&str) const -> bool
auto find (key:&str) const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >
void insert (new_elem:&str)
auto begin () const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >
auto end () const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >
auto is_end (iter:&meshlib::std_set_std_string_const_iterator) const -> bool

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_set_std_string >
static auto construct_from_another (other:&meshlib::std_set_std_string) -> meshlib::Owned< meshlib::std_set_std_string >
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

Generated from C++ container std::set<std::string>.

Generated from class std::set<std::string>. Heap-allocated instances are held in Owned<std_set_std_string>.

Member Function Documentation

◆ assign_from_another()

void meshlib::std_set_std_string::assign_from_another ( other:&meshlib::std_set_std_string )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_set_std_string_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ begin()

auto meshlib::std_set_std_string::begin ( ) const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >

The begin iterator, const.

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

◆ clear()

void meshlib::std_set_std_string::clear ( )

Removes all elements from the container.

Calls MR_std_set_std_string_clear().

◆ construct_from_another()

auto meshlib::std_set_std_string::construct_from_another ( other:&meshlib::std_set_std_string ) -> meshlib::Owned< meshlib::std_set_std_string >
static

Constructs a copy of another instance. The source remains alive.

Calls MR_std_set_std_string_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.

◆ contains()

auto meshlib::std_set_std_string::contains ( key:& str) const -> bool

Checks if the contain contains this key.

Calls MR_std_set_std_string_contains().

◆ empty()

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

Returns true if the size is zero.

Calls MR_std_set_std_string_empty().

◆ end()

auto meshlib::std_set_std_string::end ( ) const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >

The end iterator, const.

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

◆ find()

auto meshlib::std_set_std_string::find ( key:& str) const -> meshlib::Owned< meshlib::std_set_std_string_const_iterator >

Finds the element by key, or returns the end iterator if no such key. Returns a read-only iterator.

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

◆ insert()

void meshlib::std_set_std_string::insert ( new_elem:& str)

Inserts a new element.

Calls MR_std_set_std_string_insert(). The reference to the parameter new_elem might be preserved in this object.

◆ is_end()

auto meshlib::std_set_std_string::is_end ( iter:&meshlib::std_set_std_string_const_iterator ) const -> bool

Tests whether a const iterator is the end iterator.

Calls MR_std_set_std_string_is_end().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_set_std_string_DefaultConstruct().

◆ size()

auto meshlib::std_set_std_string::size ( ) const -> usize

The number of elements.

Calls MR_std_set_std_string_size().


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