Struct ntcore_sys::NT_String
[−]
[src]
#[repr(C)]pub struct NT_String { pub str: *mut c_char, pub len: usize, }
A NetworkTables string.
Fields
str: *mut c_char
String contents (UTF-8). The string is NOT required to be zero-terminated. When returned by the library, this is zero-terminated and allocated with std::malloc().
len: usize
Length of the string in bytes. If the string happens to be zero terminated, this does not include the zero-termination.
Trait Implementations
impl Debug for NT_String
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more