From bb721dfa28499d340baeec1dd730ec1cd771fdcf Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 14 Sep 2021 20:53:21 +0000 Subject: deploy: c7009b5550ef6bd7bf16ce1b93982f10b1abddc9 --- llvm_kaleidoscope_rs/struct.SmallCStr.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'llvm_kaleidoscope_rs/struct.SmallCStr.html') diff --git a/llvm_kaleidoscope_rs/struct.SmallCStr.html b/llvm_kaleidoscope_rs/struct.SmallCStr.html index 308dced..7f8df75 100644 --- a/llvm_kaleidoscope_rs/struct.SmallCStr.html +++ b/llvm_kaleidoscope_rs/struct.SmallCStr.html @@ -1,16 +1,17 @@ SmallCStr in llvm_kaleidoscope_rs - Rust -

Struct llvm_kaleidoscope_rs::SmallCStr[][src]

pub struct SmallCStr(_);
Expand description

Small C string on the stack with fixed size SMALL_STR_SIZE.

-

Implementations

Create a new C string from src. +

Struct llvm_kaleidoscope_rs::SmallCStr[][src]

pub struct SmallCStr(_);
Expand description

Small C string on the stack with fixed size SMALL_STR_SIZE.

+

This is specially crafted to interact with the LLVM C API and get rid of some heap allocations.

+

Implementations

Create a new C string from src. Returns None if src exceeds the fixed size or contains any \0 bytes.

-

Return pointer to C string.

-

Trait Implementations

Formats the value using the given formatter. Read more

-

This method tests for self and other values to be equal, and is used +

Return pointer to C string.

+

Trait Implementations

Formats the value using the given formatter. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

This method tests for !=.

+

The type returned in the event of a conversion error.

+

Performs the conversion.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

-- cgit v1.2.3