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

Public Member Functions

void assign_from_another (other:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path)
auto index () const -> usize
void assign_as_mr_pdf_buildin_font (value:meshlib::PdfBuildinFont)
void assign_as_std_filesystem_path (value:&str)
auto get_mr_pdf_buildin_font () const -> Option<&meshlib::PdfBuildinFont >
auto get_mr_pdf_buildin_font_mut () -> Option<&mut meshlib::PdfBuildinFont >
auto get_std_filesystem_path () const -> Option<&meshlib::std_filesystem_path >
auto get_std_filesystem_path_mut () -> Option<&mut meshlib::std_filesystem_path >

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
static auto construct_from_another (other:&meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path) -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
static auto construct_as_mr_pdf_buildin_font (value:meshlib::PdfBuildinFont) -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
static auto construct_as_std_filesystem_path (value:&str) -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
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 one of 2 objects: MR::PdfBuildinFont, std::filesystem::path.

Generated from class std::variant<MR::PdfBuildinFont, std::filesystem::path>. Heap-allocated instances are held in Owned<std_variant_MR_PdfBuildinFont_std_filesystem_path>.

Member Function Documentation

◆ assign_as_mr_pdf_buildin_font()

void meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::assign_as_mr_pdf_buildin_font ( value:meshlib::PdfBuildinFont )

Assigns to the variant, making it store the element 0, of type MR::PdfBuildinFont.

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

◆ assign_as_std_filesystem_path()

void meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::assign_as_std_filesystem_path ( value:& str)

Assigns to the variant, making it store the element 1, of type std::filesystem::path.

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

◆ assign_from_another()

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

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

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

◆ construct_as_mr_pdf_buildin_font()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::construct_as_mr_pdf_buildin_font ( value:meshlib::PdfBuildinFont ) -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
static

Constructs the variant storing the element 0, of type MR::PdfBuildinFont.

Calls MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_ConstructAs_MR_PdfBuildinFont(). The reference to the parameter value might be preserved in the constructed object.

◆ construct_as_std_filesystem_path()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::construct_as_std_filesystem_path ( value:& str) -> meshlib::Owned< meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path >
static

Constructs the variant storing the element 1, of type std::filesystem::path.

Calls MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_ConstructAs_std_filesystem_path(). The reference to the parameter value might be preserved in the constructed object.

◆ construct_from_another()

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

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

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

◆ get_mr_pdf_buildin_font()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::get_mr_pdf_buildin_font ( ) const -> Option<&meshlib::PdfBuildinFont >

Returns the element 0, of type MR::PdfBuildinFont, read-only. If it's not the active element, returns null.

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

◆ get_mr_pdf_buildin_font_mut()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::get_mr_pdf_buildin_font_mut ( ) -> Option<&mut meshlib::PdfBuildinFont >

Returns the element 0, of type MR::PdfBuildinFont, mutable. If it's not the active element, returns null.

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

◆ get_std_filesystem_path()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::get_std_filesystem_path ( ) const -> Option<&meshlib::std_filesystem_path >

Returns the element 1, of type std::filesystem::path, read-only. If it's not the active element, returns null.

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

◆ get_std_filesystem_path_mut()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::get_std_filesystem_path_mut ( ) -> Option<&mut meshlib::std_filesystem_path >

Returns the element 1, of type std::filesystem::path, mutable. If it's not the active element, returns null.

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

◆ index()

auto meshlib::std_variant_MR_PdfBuildinFont_std_filesystem_path::index ( ) const -> usize

Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception".

Calls MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_index().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_DefaultConstruct().


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