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

Public Member Functions

auto assign_from_another (_other:&meshlib::ZlibParams) -> &mut meshlib::ZlibParams
auto raw_deflate () const -> &bool
auto raw_deflate_mut () -> &mut bool
void set_raw_deflate (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ZlibParams >
static auto construct_from (rawDeflate:bool) -> meshlib::Owned< meshlib::ZlibParams >
static auto construct_from_another (_other:&meshlib::ZlibParams) -> meshlib::Owned< meshlib::ZlibParams >
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

parameters shared by zlibCompressStream and zlibDecompressStream Generated from class MR::ZlibParams. Derived classes: Direct: (non-virtual) MR::ZlibCompressParams

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::ZlibParams::construct_from ( rawDeflate:bool ) -> meshlib::Owned< meshlib::ZlibParams >
static

Constructs MR::ZlibParams elementwise.

Calls MR_ZlibParams_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::ZlibParams::ZlibParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ZlibParams_DefaultConstruct().

◆ raw_deflate()

auto meshlib::ZlibParams::raw_deflate ( ) const -> &bool

wire format of the (de)compressed bytes: true → raw deflate (RFC 1951, no wrapper) — suitable for a ZIP entry; false (default) → zlib-wrapped (RFC 1950) Returns a pointer to a member variable of class MR::ZlibParams named rawDeflate.

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

◆ raw_deflate_mut()

auto meshlib::ZlibParams::raw_deflate_mut ( ) -> &mut bool

wire format of the (de)compressed bytes: true → raw deflate (RFC 1951, no wrapper) — suitable for a ZIP entry; false (default) → zlib-wrapped (RFC 1950) Returns a mutable pointer to a member variable of class MR::ZlibParams named rawDeflate.

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

◆ set_raw_deflate()

void meshlib::ZlibParams::set_raw_deflate ( value:bool )

wire format of the (de)compressed bytes: true → raw deflate (RFC 1951, no wrapper) — suitable for a ZIP entry; false (default) → zlib-wrapped (RFC 1950) Modifies a member variable of class MR::ZlibParams named rawDeflate.

Calls MR_ZlibParams_Set_rawDeflate().


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