[−][src]Struct ncursesw::WideString
Wide character string (UTF-8).
Methods
impl WideString
[src]
pub fn new() -> Self
[src]
pub fn from_str(str: &str) -> Self
[src]
pub fn with_capacity(capacity: usize) -> Self
[src]
pub fn push_str(&mut self, rhs: &Self)
[src]
pub fn capacity(&self) -> usize
[src]
pub fn reserve(&mut self, additional: usize)
[src]
pub fn reserve_exact(&mut self, additional: usize)
[src]
pub fn shrink_to_fit(&mut self)
[src]
pub fn push(&mut self, rhs: WideChar)
[src]
pub fn truncate(&mut self, new_len: usize)
[src]
pub fn pop(&mut self) -> Option<WideChar>
[src]
pub fn remove(&mut self, idx: usize) -> WideChar
[src]
pub fn insert(&mut self, idx: usize, ch: WideChar)
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn clear(&mut self)
[src]
Trait Implementations
impl Clone for WideString
[src]
fn clone(&self) -> WideString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WideString
[src]
impl Default for WideString
[src]
impl Eq for WideString
[src]
impl<'a> From<&'a [i32]> for WideString
[src]
impl<'a> From<&'a Vec<WideChar>> for WideString
[src]
impl Hash for WideString
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<Vec<i32>> for WideString
[src]
impl PartialEq<WideString> for WideString
[src]
fn eq(&self, other: &WideString) -> bool
[src]
fn ne(&self, other: &WideString) -> bool
[src]
impl StructuralEq for WideString
[src]
impl StructuralPartialEq for WideString
[src]
Auto Trait Implementations
impl RefUnwindSafe for WideString
impl Send for WideString
impl Sync for WideString
impl Unpin for WideString
impl UnwindSafe for WideString
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,