[−][src]Enum rusty_v8::string_view::StringView
Variants
U16(CharacterArray<'a, u16>)
U8(CharacterArray<'a, u8>)
Methods
impl StringView<'static>
[src]
impl<'a> StringView<'a>
[src]
pub fn is_8bit(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn characters8(&self) -> Option<&[u8]>
[src]
pub fn characters16(&self) -> Option<&[u16]>
[src]
Trait Implementations
impl<'a> From<&'a [u8]> for StringView<'a>
[src]
impl<'a> From<&'a [u16]> for StringView<'a>
[src]
impl<'a: 'b, 'b> IntoIterator for &'a StringView<'b>
[src]
type IntoIter = StringViewIterator<'a, 'b>
Which kind of iterator are we turning this into?
type Item = u16
The type of the elements being iterated over.
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> Debug for StringView<'a>
[src]
Auto Trait Implementations
impl<'a> Send for StringView<'a>
impl<'a> Sync for StringView<'a>
impl<'a> Unpin for StringView<'a>
impl<'a> UnwindSafe for StringView<'a>
impl<'a> RefUnwindSafe for StringView<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,