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 |
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>.
| 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.
| 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.
| 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.
|
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.
|
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.
|
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.
| 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.
| 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.
| 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.
| 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.
| 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().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_variant_MR_PdfBuildinFont_std_filesystem_path_DefaultConstruct().