Struct ntcore_sys::NT_String [] [src]

#[repr(C)]
pub struct NT_String { pub str: *mut c_char, pub len: usize, }

A NetworkTables string.

Fields

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().

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]

[src]

Formats the value using the given formatter. Read more

impl Copy for NT_String
[src]

impl Clone for NT_String
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for NT_String

impl !Sync for NT_String