pub struct WideString(/* private fields */);Expand description
A string that is a vector of characters, rather than a vector bytes encoding a utf-8 string. This is because R6RS mandates O(1) lookups of character indices.
Implementations§
Trait Implementations§
Source§impl Clone for WideString
impl Clone for WideString
Source§fn clone(&self) -> WideString
fn clone(&self) -> WideString
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 Debug for WideString
impl Debug for WideString
Source§impl Display for WideString
impl Display for WideString
Source§impl From<&str> for WideString
impl From<&str> for WideString
Source§impl From<String> for WideString
impl From<String> for WideString
Source§impl From<WideString> for String
impl From<WideString> for String
Source§fn from(value: WideString) -> Self
fn from(value: WideString) -> Self
Converts to this type from the input type.
Source§impl From<WideString> for UnpackedValue
impl From<WideString> for UnpackedValue
Source§fn from(v: WideString) -> Self
fn from(v: WideString) -> Self
Converts to this type from the input type.
Source§impl From<WideString> for Value
impl From<WideString> for Value
Source§fn from(v: WideString) -> Self
fn from(v: WideString) -> Self
Converts to this type from the input type.
Source§impl Hash for WideString
impl Hash for WideString
Source§impl PartialEq<str> for WideString
impl PartialEq<str> for WideString
Source§impl PartialEq for WideString
impl PartialEq for WideString
Source§impl Trace for WideString
impl Trace for WideString
Source§impl TryFrom<&Value> for WideString
impl TryFrom<&Value> for WideString
Source§impl TryFrom<UnpackedValue> for WideString
impl TryFrom<UnpackedValue> for WideString
Auto Trait Implementations§
impl Freeze for WideString
impl !RefUnwindSafe for WideString
impl Send for WideString
impl Sync for WideString
impl Unpin for WideString
impl !UnwindSafe for WideString
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more