Struct browser_window_c::cbw_CStrSlice
source · #[repr(C)]pub struct cbw_CStrSlice {
pub len: usize,
pub data: *const c_char,
}
Expand description
A ‘const string slice’ Points to a immutable, non-zero-terminated, UTF-8 encoded string. Using rust’s string’s memory layout.
Fields§
§len: usize
§data: *const c_char
Implementations§
source§impl cbw_CStrSlice
impl cbw_CStrSlice
Trait Implementations§
source§impl Clone for cbw_CStrSlice
impl Clone for cbw_CStrSlice
source§fn clone(&self) -> cbw_CStrSlice
fn clone(&self) -> cbw_CStrSlice
Returns a copy 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 cbw_CStrSlice
impl Debug for cbw_CStrSlice
source§impl From<&str> for cbw_CStrSlice
impl From<&str> for cbw_CStrSlice
source§impl<'a> Into<&'a str> for cbw_CStrSlice
impl<'a> Into<&'a str> for cbw_CStrSlice
source§impl Into<String> for cbw_CStrSlice
impl Into<String> for cbw_CStrSlice
impl Copy for cbw_CStrSlice
Auto Trait Implementations§
impl RefUnwindSafe for cbw_CStrSlice
impl !Send for cbw_CStrSlice
impl !Sync for cbw_CStrSlice
impl Unpin for cbw_CStrSlice
impl UnwindSafe for cbw_CStrSlice
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