#[repr(C)]pub struct WPI_String {
pub str: *const c_char,
pub len: usize,
}
Fields§
§str: *const c_char
§len: usize
Trait Implementations§
Source§impl Clone for WPI_String
impl Clone for WPI_String
Source§fn clone(&self) -> WPI_String
fn clone(&self) -> WPI_String
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WPI_String
impl Debug for WPI_String
Source§impl From<&CStr> for WPI_String
impl From<&CStr> for WPI_String
Source§impl Hash for WPI_String
impl Hash for WPI_String
impl Copy for WPI_String
Auto Trait Implementations§
impl Freeze for WPI_String
impl RefUnwindSafe for WPI_String
impl !Send for WPI_String
impl !Sync for WPI_String
impl Unpin for WPI_String
impl UnwindSafe for WPI_String
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more