Struct v8::inspector::StringBuffer
source · [−]#[repr(C)]pub struct StringBuffer { /* private fields */ }
Implementations
sourceimpl StringBuffer
impl StringBuffer
pub fn string(&self) -> StringView<'_>
sourcepub fn create(source: StringView<'_>) -> UniquePtr<StringBuffer>
pub fn create(source: StringView<'_>) -> UniquePtr<StringBuffer>
This method copies contents.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StringBuffer
impl !Sync for StringBuffer
impl Unpin for StringBuffer
impl UnwindSafe for StringBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more