#[repr(C)]
pub struct ZyanString { /* private fields */ }
Expand description

The string type used in zydis.

Implementations

Create a new ZyanString, using the given buffer for storage.

Create a new ZyanString from a given buffer and a capacity.

Appends the given string s to this buffer.

Warning: The actual Rust &strings are encoded in UTF-8 and aren’t converted to any other encoding. They’re simply copied, byte by byte, to the buffer. Therefore, the buffer should be interpreted as UTF-8 when later being printed.

Trait Implementations

Formats the value using the given formatter. Read more

Writes a string slice into this writer, returning whether the write succeeded. Read more

Writes a char into this writer, returning whether the write succeeded. Read more

Glue for usage of the write! macro with implementors of this trait. Read more

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.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.