Struct browser_window::prelude::cbw_CStrSlice [−]
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: u64
data: *const i8
Implementations
impl cbw_CStrSlice
impl cbw_CStrSlice
pub fn empty() -> cbw_CStrSlice
Trait Implementations
impl Clone for cbw_CStrSlice
impl Clone for cbw_CStrSlice
pub fn clone(&self) -> cbw_CStrSlice
pub fn clone(&self) -> cbw_CStrSlice
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for cbw_CStrSlice
impl Debug for cbw_CStrSlice
impl<'_> From<&'_ str> for cbw_CStrSlice
impl<'_> From<&'_ str> for cbw_CStrSlice
pub fn from(string: &str) -> cbw_CStrSlice
pub fn from(string: &str) -> cbw_CStrSlice
Performs the conversion.
impl<'a> Into<&'a str> for cbw_CStrSlice
impl<'a> Into<&'a str> for cbw_CStrSlice
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
Mutably borrows from an owned value. Read more