#[repr(C)]pub struct WGPUStringView {
pub data: *const c_char,
pub length: usize,
}Fields§
§data: *const c_char§length: usizeImplementations§
Trait Implementations§
Source§impl Clone for WGPUStringView
impl Clone for WGPUStringView
Source§fn clone(&self) -> WGPUStringView
fn clone(&self) -> WGPUStringView
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 WGPUStringView
impl Debug for WGPUStringView
impl Copy for WGPUStringView
Auto Trait Implementations§
impl Freeze for WGPUStringView
impl RefUnwindSafe for WGPUStringView
impl !Send for WGPUStringView
impl !Sync for WGPUStringView
impl Unpin for WGPUStringView
impl UnwindSafe for WGPUStringView
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