Struct lrs::string::CPtrPtr

A helper type for creating *const *const c_char objects.

Syntax

struct CPtrPtr<Heap = Libc>
    where Heap: Allocator,
{
    /* private fields */
}

Static methods

NameDescription
buffered

Creates a new CPtrPtr from borrowed memory.

new

Allocates a new CPtrPtr.

Methods

ReceiverNameDescription
&mut selfclear

Removes all strings from the CPtrPtr.

&mut selffinish

Finishes the construction and returns the *const *const c_char.

&mut selfpush

Adds a string to the CPtrPtr.

Trait implementations

NameDescription
Drop

Objects with a destructor.