#[repr(C)]pub struct basic_string_view<_CharT> {
pub _M_len: size_t,
pub _M_str: *const _CharT,
pub _phantom_0: PhantomData<UnsafeCell<_CharT>>,
}Fields§
§_M_len: size_t§_M_str: *const _CharT§_phantom_0: PhantomData<UnsafeCell<_CharT>>Trait Implementations§
Source§impl<_CharT: Clone> Clone for basic_string_view<_CharT>
impl<_CharT: Clone> Clone for basic_string_view<_CharT>
Source§fn clone(&self) -> basic_string_view<_CharT>
fn clone(&self) -> basic_string_view<_CharT>
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<_CharT: Debug> Debug for basic_string_view<_CharT>
impl<_CharT: Debug> Debug for basic_string_view<_CharT>
impl<_CharT: Copy> Copy for basic_string_view<_CharT>
Auto Trait Implementations§
impl<_CharT> Freeze for basic_string_view<_CharT>
impl<_CharT> !RefUnwindSafe for basic_string_view<_CharT>
impl<_CharT> !Send for basic_string_view<_CharT>
impl<_CharT> !Sync for basic_string_view<_CharT>
impl<_CharT> Unpin for basic_string_view<_CharT>where
_CharT: Unpin,
impl<_CharT> UnwindSafe for basic_string_view<_CharT>where
_CharT: RefUnwindSafe + UnwindSafe,
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