[][src]Struct ncursesw::WideString

pub struct WideString { /* fields omitted */ }

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]

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]

impl Into<Vec<i32>> for WideString[src]

impl PartialEq<WideString> for WideString[src]

impl StructuralEq for WideString[src]

impl StructuralPartialEq for WideString[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.