pub struct Utf8Chars<'a> {
lt_marker: PhantomData<&'a ()>,
inner: UTF8Chars,
}Expand description
A wrapper type over crate::jsapi::UTF8Chars. This is created to help transferring
a rust string to mozjs. The inner crate::jsapi::UTF8Chars can be accessed via the
std::ops::Deref trait.
Fields§
§lt_marker: PhantomData<&'a ()>§inner: UTF8CharsTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Utf8Chars<'a>
impl<'a> !RefUnwindSafe for Utf8Chars<'a>
impl<'a> !Send for Utf8Chars<'a>
impl<'a> !Sync for Utf8Chars<'a>
impl<'a> Unpin for Utf8Chars<'a>
impl<'a> UnsafeUnpin for Utf8Chars<'a>
impl<'a> UnwindSafe for Utf8Chars<'a>
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